Changeset 601 for trunk/src/user32/new/win32wnd.cpp
- Timestamp:
- Aug 20, 1999, 10:09:51 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/win32wnd.cpp
r508 r601 1 /* $Id: win32wnd.cpp,v 1.2 5 1999-08-16 15:54:11 dengertExp $ */1 /* $Id: win32wnd.cpp,v 1.26 1999-08-20 20:09:51 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Window Code for OS/2 … … 1346 1346 BOOL Win32Window::SetIcon(HICON hIcon) 1347 1347 { 1348 Win32Resource *winres = (Win32Resource *)hIcon;1349 HANDLE iconhandle;1350 1351 if(HIWORD(hIcon) == 0) {1352 dprintf(("SetIcon: hIcon %x invalid", hIcon));1353 SetLastError(ERROR_INVALID_PARAMETER);1354 return FALSE;1355 }1356 1348 dprintf(("Win32Window::SetIcon %x", hIcon)); 1357 iconResource = winres; 1358 iconhandle = OSLibWinSetIcon(OS2HwndFrame, winres->getOS2Handle(), winres->lockOS2Resource()); 1359 winres->setOS2Handle(iconhandle); 1360 return(iconhandle != 0); 1349 return OSLibWinSetIcon(OS2HwndFrame, hIcon); 1361 1350 } 1362 1351 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.