diff --git a/include/wx/mac/carbon/cursor.h b/include/wx/mac/carbon/cursor.h index a9248f7e90..9a7b05715a 100644 --- a/include/wx/mac/carbon/cursor.h +++ b/include/wx/mac/carbon/cursor.h @@ -26,7 +26,8 @@ public: wxCursor(const wxImage & image) ; wxCursor(const char* const* bits); - wxCursor(const wxString& name, long flags = wxBITMAP_TYPE_MACCURSOR_RESOURCE, + wxCursor(const wxString& name, + wxBitmapType flags = wxBITMAP_TYPE_MACCURSOR_RESOURCE, int hotSpotX = 0, int hotSpotY = 0); wxCursor(int cursor_type); diff --git a/src/mac/carbon/cursor.cpp b/src/mac/carbon/cursor.cpp index 9ed8d0234a..36e40a7de9 100644 --- a/src/mac/carbon/cursor.cpp +++ b/src/mac/carbon/cursor.cpp @@ -484,7 +484,7 @@ void wxCursor::CreateFromImage(const wxImage & image) #endif //wxUSE_IMAGE -wxCursor::wxCursor(const wxString& cursor_file, long flags, int hotSpotX, int hotSpotY) +wxCursor::wxCursor(const wxString& cursor_file, wxBitmapType flags, int hotSpotX, int hotSpotY) { m_refData = new wxCursorRefData; if ( flags == wxBITMAP_TYPE_MACCURSOR_RESOURCE )