X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..8c9f8f91cd62335261ee29762747218f28d129de:/include/wx/mac/classic/palette.h diff --git a/include/wx/mac/classic/palette.h b/include/wx/mac/classic/palette.h index 74f9a4dd30..ed9acb81bc 100644 --- a/include/wx/mac/classic/palette.h +++ b/include/wx/mac/classic/palette.h @@ -24,7 +24,7 @@ class WXDLLEXPORT wxPalette; class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData { DECLARE_NO_COPY_CLASS(wxPaletteRefData) - + friend class WXDLLEXPORT wxPalette; public: wxPaletteRefData(); @@ -36,14 +36,14 @@ protected: #define M_PALETTEDATA ((wxPaletteRefData *)m_refData) -class WXDLLEXPORT wxPalette: public wxGDIObject +class WXDLLEXPORT wxPalette: public wxPaletteBase { DECLARE_DYNAMIC_CLASS(wxPalette) public: wxPalette(); wxPalette(const wxPalette& palette) - : wxGDIObject() + : wxPaletteBase() { Ref(palette); } wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);