X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df816ad92f556233cc6346e74dbbdb0317f442cd..527343602e91d60c65fb7589a6ddcf4683930c78:/include/wx/mac/carbon/palette.h diff --git a/include/wx/mac/carbon/palette.h b/include/wx/mac/carbon/palette.h index b28de1c40b..f64a6ec46e 100644 --- a/include/wx/mac/carbon/palette.h +++ b/include/wx/mac/carbon/palette.h @@ -44,10 +44,8 @@ public: int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const; bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const; - virtual bool Ok() const { return (m_refData != NULL) ; } - - inline bool operator == (const wxPalette& palette) const { return m_refData == palette.m_refData; } - inline bool operator != (const wxPalette& palette) const { return m_refData != palette.m_refData; } + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const { return (m_refData != NULL) ; } virtual int GetColoursCount() const;