X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f5d78250c6dd003e8d06fea9e04b710bffdb41f..59953bf4ba167311fb0cd2c2c0f3d5d0475b98c8:/include/wx/colour.h diff --git a/include/wx/colour.h b/include/wx/colour.h index 18101e11de..9c3cea2c90 100644 --- a/include/wx/colour.h +++ b/include/wx/colour.h @@ -94,7 +94,8 @@ public: // accessors // --------- - virtual bool Ok() const = 0; + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const = 0; virtual ChannelType Red() const = 0; virtual ChannelType Green() const = 0;