]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/palette.h
don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value param...
[wxWidgets.git] / include / wx / os2 / palette.h
index ba3109be260e206ea64fc1e2f5d694a706b5257c..69a8ff18cbf9742e6b6c901d0c0bd4c8be90e5a1 100644 (file)
@@ -32,8 +32,6 @@ public:
 
 class WXDLLEXPORT wxPalette: public wxPaletteBase
 {
-    DECLARE_DYNAMIC_CLASS(wxPalette)
-
 public:
     wxPalette();
 
@@ -64,6 +62,13 @@ public:
     inline WXHPALETTE GetHPALETTE(void) const { return (M_PALETTEDATA ? M_PALETTEDATA->m_hPalette : 0); }
     void              SetHPALETTE(WXHPALETTE hPalette);
     void              SetPS(HPS hPS);
+
+protected:
+    virtual wxGDIRefData *CreateGDIRefData() const;
+    virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
+
+private:
+    DECLARE_DYNAMIC_CLASS(wxPalette)
 }; // end of CLASS wxPalette
 
 #endif