X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b729ceb23d24fecd17f47cc3c20fb3f62839ac36..19e30148e18cc99296b26503c155e5cef59045f4:/include/wx/mac/icon.h diff --git a/include/wx/mac/icon.h b/include/wx/mac/icon.h index e24b58316e..c128f242aa 100644 --- a/include/wx/mac/icon.h +++ b/include/wx/mac/icon.h @@ -32,13 +32,13 @@ public: wxIcon(const char **data); wxIcon(char **data); wxIcon(const char bits[], int width , int height ); - wxIcon(const wxString& name, long flags = wxBITMAP_TYPE_ICON_RESOURCE, + wxIcon(const wxString& name, int flags = wxBITMAP_TYPE_ICON_RESOURCE, int desiredWidth = -1, int desiredHeight = -1); ~wxIcon(); - bool LoadFile(const wxString& name, long flags /* = wxBITMAP_TYPE_ICON_RESOURCE */ , + bool LoadFile(const wxString& name, wxBitmapType flags /* = wxBITMAP_TYPE_ICON_RESOURCE */ , int desiredWidth /* = -1 */ , int desiredHeight = -1); - bool LoadFile(const wxString& name ,long flags = wxBITMAP_TYPE_ICON_RESOURCE ) + bool LoadFile(const wxString& name ,wxBitmapType flags = wxBITMAP_TYPE_ICON_RESOURCE ) { return LoadFile( name , flags , -1 , -1 ) ; } inline wxIcon& operator = (const wxIcon& icon) { if (*this == icon) return (*this); Ref(icon); return *this; }