]> git.saurik.com Git - wxWidgets.git/commitdiff
change another long type to wxBitmapType
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 7 Jun 2008 00:53:10 +0000 (00:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 7 Jun 2008 00:53:10 +0000 (00:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/carbon/cursor.h
src/mac/carbon/cursor.cpp

index a9248f7e90a40da24839a92d7c6f2b35647140b9..9a7b05715a2c7c954e3745e1c336b396b096df66 100644 (file)
@@ -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);
index 9ed8d0234a57ae30b734f7b1114660329fbaa47f..36e40a7de950883ad3e58c6fd4574fa21cd39f1e 100644 (file)
@@ -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 )