Ignore:
Timestamp:
Nov 1, 1999, 8:11:46 PM (26 years ago)
Author:
sandervl
Message:

Activate + group box fixes + cleanup changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32class.cpp

    r1490 r1540  
    1 /* $Id: win32class.cpp,v 1.4 1999-10-28 12:00:34 sandervl Exp $ */
     1/* $Id: win32class.cpp,v 1.5 1999-11-01 19:11:42 sandervl Exp $ */
    22/*
    33 * Win32 Window Class Managment Code for OS/2
     
    2424#include <win32wnd.h>
    2525
     26static fDestroyAll = FALSE;
     27
    2628//******************************************************************************
    2729//Win32WndClass methods:
     
    123125Win32WndClass::~Win32WndClass()
    124126{
     127  if(classNameA) {
     128        dprintf(("Win32WndClass dtor, destroy class %s\n", classNameA));
     129  }
     130
    125131  //SvL: Don't delete global classes
    126132  if(classNameA && !(windowStyle & CS_GLOBALCLASS)) {
     
    136142        free(menuNameW);
    137143  }
     144}
     145//******************************************************************************
     146//******************************************************************************
     147void Win32WndClass::DestroyAll()
     148{
     149    fDestroyAll = TRUE;
     150    GenericObject::DestroyAll(wndclasses);
    138151}
    139152//******************************************************************************
     
    449462  Win32WndClass *wndclass;
    450463
    451   dprintf(("::UnregisterClass, destroy class %X!!\n", id));
    452464  wndclass = FindClass(hinst, id);
    453465  if(wndclass) {
Note: See TracChangeset for help on using the changeset viewer.