X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..68a9527d5185cdd9d3fef3d9421415c50de8794d:/include/wx/palmos/palette.h diff --git a/include/wx/palmos/palette.h b/include/wx/palmos/palette.h index 03678ac15d..690299c08c 100644 --- a/include/wx/palmos/palette.h +++ b/include/wx/palmos/palette.h @@ -41,10 +41,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(void) 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(void) const { return (m_refData != NULL) ; } virtual bool FreeResource(bool force = false);