Changeset 2261 for trunk/src/user32/win32wbase.cpp
- Timestamp:
- Dec 30, 1999, 10:31:03 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/win32wbase.cpp
r2257 r2261 1 /* $Id: win32wbase.cpp,v 1.12 5 1999-12-29 22:54:02 cbratschiExp $ */1 /* $Id: win32wbase.cpp,v 1.126 1999-12-30 09:31:02 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Base Class for OS/2 … … 192 192 windowClass = 0; 193 193 194 acceltableResource = NULL;195 194 iconResource = NULL; 196 195 … … 214 213 } 215 214 //****************************************************************************** 216 //todo get rid of resources (menu, accel,icon etc)215 //todo get rid of resources (menu, icon etc) 217 216 //****************************************************************************** 218 217 Win32BaseWindow::~Win32BaseWindow() … … 2199 2198 } 2200 2199 return TRUE; 2201 }2202 //******************************************************************************2203 //******************************************************************************2204 BOOL Win32BaseWindow::SetAccelTable(HACCEL hAccel)2205 {2206 Win32Resource *winres = (Win32Resource *)hAccel;2207 HANDLE accelhandle;2208 2209 if(HIWORD(hAccel) == 0) {2210 dprintf(("SetAccelTable: hAccel %x invalid", hAccel));2211 SetLastError(ERROR_INVALID_PARAMETER);2212 return FALSE;2213 }2214 acceltableResource = winres;2215 accelhandle = OSLibWinSetAccelTable(OS2HwndFrame, winres->getOS2Handle(), winres->lockOS2Resource());2216 winres->setOS2Handle(accelhandle);2217 return(accelhandle != 0);2218 2200 } 2219 2201 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.