Changeset 3153 for trunk/src/user32/win32class.cpp
- Timestamp:
- Mar 18, 2000, 5:13:41 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32class.cpp
r2860 r3153 1 /* $Id: win32class.cpp,v 1.1 5 2000-02-22 19:15:20 sandervlExp $ */1 /* $Id: win32class.cpp,v 1.16 2000-03-18 16:13:37 cbratschi Exp $ */ 2 2 /* 3 3 * Win32 Window Class Managment Code for OS/2 … … 25 25 #include <win\winproc.h> 26 26 27 #define DBG_LOCALLOG 27 #define DBG_LOCALLOG DBG_win32class 28 28 #include "dbglocal.h" 29 29 … … 63 63 AsciiToUnicode(classNameA, classNameW); 64 64 } 65 66 65 classAtom = 0; 66 //SvL: If a system control has already be registered, use that atom instead 67 67 // of creating a new one 68 69 70 71 68 if(wndclass->style & CS_GLOBALCLASS) { 69 classAtom = GlobalFindAtomA(classNameA); 70 } 71 if(!classAtom) classAtom = GlobalAddAtomA(classNameA); 72 72 } 73 73 else { … … 77 77 } 78 78 if(!(wndclass->style & CS_GLOBALCLASS)) { 79 79 processId = GetCurrentProcess(); 80 80 } 81 81 menuNameA = 0; … … 100 100 } 101 101 else dprintf(("USER32: wndclass->lpszMenuName %X\n", menuNameA)); 102 dprintf(("USER32: wndclass->hIconSm %X\n", wndclass->hIconSm)); 102 103 103 104 nrExtraClassWords = wndclass->cbClsExtra; … … 362 363 case GCL_HICON: 363 364 return hIcon; 365 case GCL_HICONSM: 366 return hIconSm; 364 367 case GCL_HMODULE: 365 368 return hInstance; … … 428 431 hIcon = lNewVal; 429 432 break; 433 case GCL_HICONSM: 434 rc = hIconSm; 435 hIconSm = lNewVal; 436 break; 430 437 case GCL_HMODULE: 431 438 rc = hInstance;
Note:
See TracChangeset
for help on using the changeset viewer.