X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..79b83ef08503bf1b546ad9df919ffd0ebf462cd7:/include/wx/mgl/palette.h diff --git a/include/wx/mgl/palette.h b/include/wx/mgl/palette.h index 9d7574dd7c..c8d46785cd 100644 --- a/include/wx/mgl/palette.h +++ b/include/wx/mgl/palette.h @@ -35,9 +35,8 @@ public: wxPalette(); wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); virtual ~wxPalette(); - bool operator == (const wxPalette& palette) const; - bool operator != (const wxPalette& palette) const; - virtual bool Ok() const; + 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;