]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/cursor.h
wxGraphicsRenderer::CreateContextFromImage is not static
[wxWidgets.git] / include / wx / osx / cursor.h
index e252623f3398bc6b3953a604be1a9ab3f694672b..66516c41130c718c78bf01dea1be0c3c505eb4a5 100644 (file)
@@ -36,12 +36,13 @@ public:
     void SetHCURSOR(WXHCURSOR cursor);
     WXHCURSOR GetHCURSOR() const;
 
     void SetHCURSOR(WXHCURSOR cursor);
     WXHCURSOR GetHCURSOR() const;
 
-private:
-    void InitFromStock(wxStockCursor);
-
+protected:
     virtual wxGDIRefData *CreateGDIRefData() const;
     virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
 
     virtual wxGDIRefData *CreateGDIRefData() const;
     virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
 
+private:
+    void InitFromStock(wxStockCursor);
+
     void CreateFromImage(const wxImage & image) ;
 
     DECLARE_DYNAMIC_CLASS(wxCursor)
     void CreateFromImage(const wxImage & image) ;
 
     DECLARE_DYNAMIC_CLASS(wxCursor)