#endif
#include "wx/os2/private.h"
+#include "wx/os2/wxrsc.h"
#include "wx/image.h"
#include "assert.h"
} // end of wxCursor::wxCursor
-wxCursor::wxCursor(
- const wxString& rsCursorFile
-, long lFlags
-, int nHotSpotX
-, int nHotSpotY
-)
+wxCursor::wxCursor( const wxString& WXUNUSED(rsCursorFile),
+ long lFlags,
+ int WXUNUSED(nHotSpotX),
+ int WXUNUSED(nHotSpotY) )
{
- wxCursorRefData* pRefData = new wxCursorRefData;
+ wxCursorRefData* pRefData = new wxCursorRefData;
pRefData = new wxCursorRefData;
m_refData = pRefData;
);
break;
+ case wxCURSOR_WATCH:
case wxCURSOR_WAIT:
pRefData->m_hCursor = (WXHCURSOR) ::WinQuerySysPointer( HWND_DESKTOP
,(ULONG)SPTR_WAIT
break;
case wxCURSOR_NO_ENTRY:
- pRefData->m_hCursor = (WXHCURSOR) ::WinLoadPointer( HWND_DESKTOP
- ,0
- ,(ULONG)wxCURSOR_NO_ENTRY
- );
+ pRefData->m_hCursor = (WXHCURSOR) ::WinQuerySysPointer( HWND_DESKTOP
+ ,(ULONG)SPTR_ILLEGAL
+ ,FALSE
+ );
break;
case wxCURSOR_LEFT_BUTTON:
);
break;
- case wxCURSOR_WATCH:
- pRefData->m_hCursor = (WXHCURSOR) ::WinLoadPointer( HWND_DESKTOP
- ,0
- ,(ULONG)wxCURSOR_WATCH
- );
- break;
-
case wxCURSOR_SPRAYCAN:
pRefData->m_hCursor = (WXHCURSOR) ::WinLoadPointer( HWND_DESKTOP
,0
(*g_globalCursor) = cursor;
}
}
-