Changeset 728 for trunk/src/user32/new/win32class.cpp
- Timestamp:
- Aug 28, 1999, 7:24:45 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32class.cpp
r724 r728 1 /* $Id: win32class.cpp,v 1. 8 1999-08-28 14:09:30 sandervlExp $ */1 /* $Id: win32class.cpp,v 1.9 1999-08-28 17:24:45 dengert Exp $ */ 2 2 /* 3 3 * Win32 Window Class Managment Code for OS/2 … … 80 80 nrExtraClassWords = wndclass->cbClsExtra; 81 81 nrExtraWindowWords = wndclass->cbWndExtra; 82 backgroundBrush = wndclass->hbrBackground; //TODO: fErase of PAINSTRUCT in WM_PAINT if == NULL82 backgroundBrush = wndclass->hbrBackground; 83 83 hCursor = wndclass->hCursor; 84 84 hIcon = wndclass->hIcon; … … 137 137 138 138 if(wndclass == NULL) { 139 140 139 leaveMutex(OBJTYPE_CLASS); 140 return(NULL); 141 141 } 142 142 … … 144 144 //CB: read comment below! 145 145 if(stricmp(wndclass->classNameA, id) == 0 && wndclass->hInstance == hInstance) { 146 146 leaveMutex(OBJTYPE_CLASS); 147 147 return(wndclass); 148 148 } … … 151 151 while(wndclass != NULL) { 152 152 if(stricmp(wndclass->classNameA, id) == 0 && wndclass->hInstance == hInstance) { 153 153 leaveMutex(OBJTYPE_CLASS); 154 154 return(wndclass); 155 155 } … … 162 162 //CB: need more code to compare instance; convert 0 to exe module handle 163 163 if(wndclass->classAtom == (DWORD)id /*&& wndclass->hInstance == hInstance*/) { 164 164 leaveMutex(OBJTYPE_CLASS); 165 165 return(wndclass); 166 166 } … … 169 169 while(wndclass != NULL) { 170 170 if(wndclass->classAtom == (DWORD)id/* && wndclass->hInstance == hInstance*/) { 171 172 171 leaveMutex(OBJTYPE_CLASS); 172 return(wndclass); 173 173 } 174 174 wndclass = (Win32WndClass *)wndclass->GetNext();
Note:
See TracChangeset
for help on using the changeset viewer.