Ignore:
Timestamp:
Nov 17, 1999, 6:06:23 PM (26 years ago)
Author:
cbratschi
Message:

cursor handling fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.cpp

    r1739 r1762  
    1 /* $Id: win32wbase.cpp,v 1.84 1999-11-14 16:35:56 sandervl Exp $ */
     1/* $Id: win32wbase.cpp,v 1.85 1999-11-17 17:04:55 cbratschi Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    15701570            }
    15711571        }
    1572         return 1;
     1572        if (wParam == Win32Hwnd)
     1573        {
     1574          HCURSOR hCursor = windowClass ? windowClass->getCursor():LoadCursorA(0,IDC_ARROWA);
     1575
     1576          if (hCursor) SetCursor(hCursor);
     1577          return 1;
     1578        } else return 0;
    15731579    }
    15741580    case WM_MOUSEMOVE:
    1575         return 1; //Let OS/2 change the mouse cursor back to the default
     1581        return 0; //we do our own cursor handling
    15761582
    15771583    case WM_WINDOWPOSCHANGED:
Note: See TracChangeset for help on using the changeset viewer.