]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/cursor.cpp
Const casting fix for Vis C.
[wxWidgets.git] / src / msw / cursor.cpp
index 1f76183f6eb969c11377db03b3a3075faa256c00..892ca4ee0f7cb3245a1d71a3d369a0dbca19bd29 100644 (file)
@@ -37,6 +37,7 @@
     #include "wx/cursor.h"
 #endif
 
+#include "wx/module.h"
 #include "wx/msw/private.h"
 #include "wx/msw/dib.h"
 
@@ -190,6 +191,9 @@ wxCursor::wxCursor(int cursor_type)
 
   switch (cursor_type)
   {
+    case wxCURSOR_ARROWWAIT:
+      refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_APPSTARTING);
+      break;
     case wxCURSOR_WAIT:
       refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_WAIT);
       break;
@@ -288,6 +292,7 @@ wxCursor::wxCursor(int cursor_type)
     }
     case wxCURSOR_QUESTION_ARROW:
     {
+//      refData->m_hCursor = (WXHCURSOR) LoadImage(wxGetInstance(), wxT("wxCURSOR_QARROW"), IMAGE_CURSOR, 16, 16, LR_MONOCHROME);
       refData->m_hCursor = (WXHCURSOR) LoadCursor(wxGetInstance(), wxT("wxCURSOR_QARROW"));
       break;
     }