diff --git a/include/wx/msw/cursor.h b/include/wx/msw/cursor.h index 559390b92e..4ed0a73b7f 100644 --- a/include/wx/msw/cursor.h +++ b/include/wx/msw/cursor.h @@ -27,7 +27,7 @@ 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(wxStockCursor idCursor); virtual ~wxCursor(); diff --git a/src/msw/cursor.cpp b/src/msw/cursor.cpp index 11515894a7..4010f812f6 100644 --- a/src/msw/cursor.cpp +++ b/src/msw/cursor.cpp @@ -231,7 +231,7 @@ wxCursor::wxCursor(const char WXUNUSED(bits)[], #ifdef __WXMICROWIN__ wxCursor::wxCursor(const wxString& WXUNUSED(filename), - long WXUNUSED(kind), + wxBitmapType WXUNUSED(kind), int WXUNUSED(hotSpotX), int WXUNUSED(hotSpotY)) { @@ -244,7 +244,7 @@ wxCursor::wxCursor(int WXUNUSED(cursor_type)) #else // !__WXMICROWIN__ wxCursor::wxCursor(const wxString& filename, - long kind, + wxBitmapType kind, int hotSpotX, int hotSpotY) {