]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/cursor.cpp
corrected use of Print Manager Session APIs for Carbon targets
[wxWidgets.git] / src / msw / cursor.cpp
index 1f76183f6eb969c11377db03b3a3075faa256c00..0409580d2d140f03a505c67e74430916e8328efb 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,11 @@ wxCursor::wxCursor(int cursor_type)
 
   switch (cursor_type)
   {
+    case wxCURSOR_ARROWWAIT:
+#ifndef __WIN16__
+      refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_APPSTARTING);
+      break;
+#endif
     case wxCURSOR_WAIT:
       refData->m_hCursor = (WXHCURSOR) LoadCursor((HINSTANCE) NULL, IDC_WAIT);
       break;
@@ -288,6 +294,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;
     }