X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5633b968f51434b88d52e0e3bdda6ab447487e12..23c06cde5df85dbfd94e92e90de225618191153f:/include/wx/palette.h?ds=sidebyside diff --git a/include/wx/palette.h b/include/wx/palette.h index 658c32f976..b04f513466 100644 --- a/include/wx/palette.h +++ b/include/wx/palette.h @@ -25,7 +25,8 @@ class WXDLLEXPORT wxPaletteBase: public wxGDIObject public: virtual ~wxPaletteBase() { } - virtual bool Ok() const = 0; + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const = 0; virtual int GetColoursCount() const { wxFAIL_MSG( _T("not implemented") ); return 0; } };