]> git.saurik.com Git - wxWidgets.git/commitdiff
xpm support
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 2 Mar 2003 22:38:30 +0000 (22:38 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 2 Mar 2003 22:38:30 +0000 (22:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/cursor.h

index bffacb52ed5792590f4ecf3a19bbca545bb00d9e..7f1a8ea8b44fe95fcb5398d8e009994508bc7129 100644 (file)
@@ -56,13 +56,15 @@ public:
     const char maskBits[] = NULL);
 
     wxCursor(const wxImage & image) ;
     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,
     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();
 
 
   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; }
   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; }