X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ef3a57a47f840adea9d38bc11cb30689a0838a..336d8ae9a3feae7b2c3ecd8f64fe0e16984edfe7:/include/wx/mgl/palette.h diff --git a/include/wx/mgl/palette.h b/include/wx/mgl/palette.h index a9878d2676..c8d46785cd 100644 --- a/include/wx/mgl/palette.h +++ b/include/wx/mgl/palette.h @@ -34,12 +34,9 @@ class WXDLLEXPORT wxPalette: public wxPaletteBase public: wxPalette(); wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); - wxPalette(const wxPalette& palette); - ~wxPalette(); - wxPalette& operator = (const wxPalette& palette); - bool operator == (const wxPalette& palette) const; - bool operator != (const wxPalette& palette) const; - virtual bool Ok() const; + virtual ~wxPalette(); + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const; bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;