X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6762286db6cf974817dead5b88bebf0e390dbb7e..438959cca892a7651634cc3a7aad4819ac49b23c:/include/wx/osx/cursor.h diff --git a/include/wx/osx/cursor.h b/include/wx/osx/cursor.h index fe0c01391c..66516c4113 100644 --- a/include/wx/osx/cursor.h +++ b/include/wx/osx/cursor.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/mac/carbon/cursor.h +// Name: wx/osx/cursor.h // Purpose: wxCursor class // Author: Stefan Csomor // Modified by: @@ -21,7 +21,6 @@ public: wxCursor(); wxCursor(const wxImage & image) ; - wxCursor(const char* const* bits); wxCursor(const wxString& name, wxBitmapType type = wxCURSOR_DEFAULT_TYPE, int hotSpotX = 0, int hotSpotY = 0); @@ -32,19 +31,18 @@ public: #endif virtual ~wxCursor(); - bool CreateFromXpm(const char* const* bits); - void MacInstall() const ; void SetHCURSOR(WXHCURSOR cursor); WXHCURSOR GetHCURSOR() const; -private: - void InitFromStock(wxStockCursor); - +protected: virtual wxGDIRefData *CreateGDIRefData() const; virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const; +private: + void InitFromStock(wxStockCursor); + void CreateFromImage(const wxImage & image) ; DECLARE_DYNAMIC_CLASS(wxCursor)