X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..f321ab7fb40525098cea6594ffbf2daf0186b1a3:/include/wx/motif/palette.h?ds=inline diff --git a/include/wx/motif/palette.h b/include/wx/motif/palette.h index d4e00e6efb..47b0ae7c05 100644 --- a/include/wx/motif/palette.h +++ b/include/wx/motif/palette.h @@ -58,10 +58,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) ; } - - bool operator == (const wxPalette& palette) const { return m_refData == palette.m_refData; } - 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) ; } // Motif-specific WXColormap GetXColormap(WXDisplay* display = NULL) const;