X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dddb8a2dde675b85bbe28399b921648a22e6be1..d61f7200331a1cd1a3b2353292e6801511ccbc5d:/include/wx/msw/palette.h diff --git a/include/wx/msw/palette.h b/include/wx/msw/palette.h index 6179d35006..73d5df709e 100644 --- a/include/wx/msw/palette.h +++ b/include/wx/msw/palette.h @@ -32,13 +32,13 @@ protected: #define M_PALETTEDATA ((wxPaletteRefData *)m_refData) -class WXDLLEXPORT wxPalette: public wxGDIObject +class WXDLLEXPORT wxPalette: public wxPaletteBase { DECLARE_DYNAMIC_CLASS(wxPalette) public: wxPalette(void); - inline wxPalette(const wxPalette& palette) : wxGDIObject(palette) { Ref(palette); } + inline wxPalette(const wxPalette& palette) : wxPaletteBase(palette) { Ref(palette); } wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); ~wxPalette(void); @@ -58,8 +58,5 @@ public: void SetHPALETTE(WXHPALETTE pal); }; -#define wxColorMap wxPalette -#define wxColourMap wxPalette - #endif // _WX_PALETTE_H_