X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dddb8a2dde675b85bbe28399b921648a22e6be1..a33685f4b8495858bb953207af9ff941f858a692:/include/wx/msw/palette.h?ds=sidebyside 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_