Changeset 6612 for trunk/src


Ignore:
Timestamp:
Aug 31, 2001, 9:46:45 PM (24 years ago)
Author:
phaller
Message:

fix UnregisterClass

File:
1 edited

Legend:

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

    r6483 r6612  
    1 /* $Id: win32class.cpp,v 1.26 2001-08-07 21:35:36 sandervl Exp $ */
     1/* $Id: win32class.cpp,v 1.27 2001-08-31 19:45:50 phaller Exp $ */
    22/*
    33 * Win32 Window Class Managment Code for OS/2
     
    572572            return FALSE;
    573573        }
     574   
     575        // 2001-08-31 PH
     576        // Note: RELEASE_CLASSOBJ sets the pointer to NULL,
     577        // and as delete verifies the object pointer to unequal NULL,
     578        // the destrutor is NEVER called, the class atom is NEVER released.
     579        wndclass->markDeleted();
    574580        RELEASE_CLASSOBJ(wndclass);
    575         delete wndclass;
     581   
    576582        SetLastError(ERROR_SUCCESS);
    577583        return TRUE;
Note: See TracChangeset for help on using the changeset viewer.