From 204fd7058e300380067c9f021a0bc779eabde36d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 7 Jun 2008 00:53:10 +0000 Subject: [PATCH] change another long type to wxBitmapType git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/carbon/cursor.h | 3 ++- src/mac/carbon/cursor.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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 ) -- 2.45.2