]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/cursor.h
avoiding crash for pure modifier events
[wxWidgets.git] / include / wx / msw / cursor.h
index f8025338a4fb86111521f4b239b3f60b11734e18..4ed0a73b7f8a1c4ea772d377e234cd6b557d3c82 100644 (file)
@@ -17,7 +17,7 @@
 class WXDLLIMPEXP_FWD_CORE wxImage;
 
 // Cursor
-class WXDLLEXPORT wxCursor : public wxGDIImage
+class WXDLLIMPEXP_CORE wxCursor : public wxGDIImage
 {
 public:
     // constructors
@@ -27,9 +27,9 @@ public:
              int hotSpotX = -1, int hotSpotY = -1,
              const char maskBits[] = NULL);
     wxCursor(const wxString& name,
-             long flags = wxBITMAP_TYPE_CUR_RESOURCE,
+             wxBitmapType flags = wxBITMAP_TYPE_CUR_RESOURCE,
              int hotSpotX = 0, int hotSpotY = 0);
-    wxCursor(int idCursor);
+    wxCursor(wxStockCursor idCursor);
     virtual ~wxCursor();
 
     // implementation only