X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5633b968f51434b88d52e0e3bdda6ab447487e12..a387938f80a2804f259e7305513231be39620fd2:/include/wx/msw/palette.h?ds=sidebyside diff --git a/include/wx/msw/palette.h b/include/wx/msw/palette.h index 35e5555fb3..f302fa3574 100644 --- a/include/wx/msw/palette.h +++ b/include/wx/msw/palette.h @@ -41,7 +41,8 @@ public: virtual int GetColoursCount() 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; }