Ignore:
Timestamp:
Jun 9, 2001, 4:50:26 PM (24 years ago)
Author:
sandervl
Message:

reference count (window + class objects) rewrite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wndchild.h

    r3663 r5935  
    1 /* $Id: win32wndchild.h,v 1.5 2000-06-07 21:45:52 sandervl Exp $ */
     1/* $Id: win32wndchild.h,v 1.6 2001-06-09 14:50:24 sandervl Exp $ */
    22/*
    33 * Win32 Child/Parent window class for OS/2
     
    1313#define __WIN32WNDCHILD_H__
    1414
    15 #include <vmutex.h>
     15#ifdef OS2_INCLUDED
     16#include <win32api.h>
     17#endif
    1618
    1719#ifdef __cplusplus
     
    2022{
    2123public:
    22          ChildWindow();
     24         ChildWindow(CRITICAL_SECTION *pLock);
    2325virtual ~ChildWindow();
    2426
     
    4547
    4648private:
    47         VMutex mutex;
     49         void  Lock()           { EnterCriticalSection(pLockChild); };
     50         void  Unlock()         { LeaveCriticalSection(pLockChild); };
     51 
     52   CRITICAL_SECTION *pLockChild;
    4853
    4954   ChildWindow *parent;         //GWL_HWNDPARENT
Note: See TracChangeset for help on using the changeset viewer.