X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..e6efee0079933c3f9a78b0bf6d701b3a35730952:/include/wx/palmos/palette.h diff --git a/include/wx/palmos/palette.h b/include/wx/palmos/palette.h index 03678ac15d..0229985a7a 100644 --- a/include/wx/palmos/palette.h +++ b/include/wx/palmos/palette.h @@ -41,7 +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) ; } + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk(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; }