From: Stefan Csomor Date: Sun, 2 Mar 2003 22:38:30 +0000 (+0000) Subject: xpm support X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/78e053ec4589c11fb99b5af3b9ecafe000d8aa7b?ds=inline xpm support git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/cursor.h b/include/wx/mac/cursor.h index bffacb52ed..7f1a8ea8b4 100644 --- a/include/wx/mac/cursor.h +++ b/include/wx/mac/cursor.h @@ -56,13 +56,15 @@ public: const char maskBits[] = NULL); wxCursor(const wxImage & image) ; - + wxCursor(const char **bits) ; + wxCursor(char **bits) ; wxCursor(const wxString& name, long flags = wxBITMAP_TYPE_MACCURSOR_RESOURCE, - int hotSpotX = 0, int hotSpotY = 0); + int hotSpotX = 0, int hotSpotY = 0); wxCursor(int cursor_type); ~wxCursor(); + bool CreateFromXpm(const char **bits) ; virtual bool Ok() const { return (m_refData != NULL && ( M_CURSORDATA->m_hCursor != NULL || M_CURSORDATA->m_themeCursor != -1 ) ) ; } inline wxCursor& operator = (const wxCursor& cursor) { if (*this == cursor) return (*this); Ref(cursor); return *this; }