Changeset 2860 for trunk/src/user32/win32class.cpp
- Timestamp:
- Feb 22, 2000, 8:15:20 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32class.cpp
r2803 r2860 1 /* $Id: win32class.cpp,v 1.1 4 2000-02-16 14:28:22sandervl Exp $ */1 /* $Id: win32class.cpp,v 1.15 2000-02-22 19:15:20 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Class Managment Code for OS/2 … … 63 63 AsciiToUnicode(classNameA, classNameW); 64 64 } 65 classAtom = 0;66 //SvL: If a system control has already be registered, use that atom instead65 classAtom = 0; 66 //SvL: If a system control has already be registered, use that atom instead 67 67 // of creating a new one 68 if(wndclass->style & CS_GLOBALCLASS) {69 classAtom = GlobalFindAtomA(classNameA);70 }71 if(!classAtom) classAtom = GlobalAddAtomA(classNameA);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 processId = GetCurrentProcess();79 processId = GetCurrentProcess(); 80 80 } 81 81 menuNameA = 0; … … 114 114 115 115 windowStyle = wndclass->style; 116 117 windowProc = 0; 116 118 WINPROC_SetProc((HWINDOWPROC *)&windowProc, wndclass->lpfnWndProc, (isUnicode) ? WIN_PROC_32W : WIN_PROC_32A, WIN_PROC_CLASS); 117 119 dprintf2(("Window class ptr %x", windowProc));
Note:
See TracChangeset
for help on using the changeset viewer.