Changeset 9598 for trunk/src/user32/controls.cpp
- Timestamp:
- Jan 3, 2003, 5:35:58 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/controls.cpp
r9523 r9598 1 /* $Id: controls.cpp,v 1.1 1 2002-12-18 12:28:02sandervl Exp $ */1 /* $Id: controls.cpp,v 1.12 2003-01-03 16:35:51 sandervl Exp $ */ 2 2 /* File: controls.cpp -- Win32 common controls 3 3 * … … 48 48 49 49 dprintf(("Register SCROLLBAR class")); 50 controlAtoms[SCROLLBAR_CONTROL] = SCROLLBAR_Register(); 50 controlAtoms[SCROLLBAR_CONTROL] = 51 #if 0 52 InternalRegisterClass((LPSTR)SCROLL_builtin_class.name, 53 SCROLL_builtin_class.style, 54 SCROLL_builtin_class.procA, 55 SCROLL_builtin_class.procW, 56 SCROLL_builtin_class.extra, 57 SCROLL_builtin_class.cursor, 58 SCROLL_builtin_class.brush); 59 #else 60 SCROLLBAR_Register(); 61 #endif 51 62 if (!controlAtoms[SCROLLBAR_CONTROL]) dprintf(("failed!!!")); 52 63 … … 122 133 123 134 dprintf(("Register POPUPMENU class")); 124 controlAtoms[POPUPMENU_CONTROL] = POPUPMENU_Register(); 135 controlAtoms[POPUPMENU_CONTROL] = 136 InternalRegisterClass((LPSTR)MENU_builtin_class.name, 137 MENU_builtin_class.style, 138 MENU_builtin_class.procA, 139 MENU_builtin_class.procW, 140 MENU_builtin_class.extra, 141 MENU_builtin_class.cursor, 142 MENU_builtin_class.brush); 125 143 if (!controlAtoms[POPUPMENU_CONTROL]) dprintf(("failed!!!")); 144 MENU_Init(); 126 145 } 127 146 … … 135 154 136 155 dprintf(("Unregister SCROLLBAR class")); 156 #if 0 157 if (!UnregisterClassA((LPSTR)SCROLL_builtin_class.name, NULL)) dprintf(("failed!!!")); 158 #else 137 159 if (!SCROLLBAR_Unregister()) dprintf(("failed!!!")); 160 #endif 138 161 139 162 dprintf(("Unregister LISTBOX class")); … … 165 188 166 189 dprintf(("Unregister POPUPMENU class")); 167 if (!POPUPMENU_Unregister()) dprintf(("failed!!!")); 168 190 if (!UnregisterClassA((LPSTR)MENU_builtin_class.name, NULL)) dprintf(("failed!!!")); 169 191 } 170 192
Note:
See TracChangeset
for help on using the changeset viewer.