Ignore:
Timestamp:
Aug 20, 1999, 10:09:51 PM (26 years ago)
Author:
sandervl
Message:

Icon + Cursor resource changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/new/win32wnd.cpp

    r508 r601  
    1 /* $Id: win32wnd.cpp,v 1.25 1999-08-16 15:54:11 dengert Exp $ */
     1/* $Id: win32wnd.cpp,v 1.26 1999-08-20 20:09:51 sandervl Exp $ */
    22/*
    33 * Win32 Window Code for OS/2
     
    13461346BOOL Win32Window::SetIcon(HICON hIcon)
    13471347{
    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     }
    13561348    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);
    13611350}
    13621351//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.