X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f5d78250c6dd003e8d06fea9e04b710bffdb41f..d8dd214c1bccfd7a7defdbbedd69aef706a8816b:/include/wx/colour.h?ds=sidebyside 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;