X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aea95b1c3a8ae221cc3aade5ce49a3cf848fd56a..6c1483e3ec1250e1245bf658f850adb1cb240845:/include/wx/gtk1/colour.h?ds=sidebyside diff --git a/include/wx/gtk1/colour.h b/include/wx/gtk1/colour.h index cf91604445..c5006cf4fb 100644 --- a/include/wx/gtk1/colour.h +++ b/include/wx/gtk1/colour.h @@ -45,7 +45,8 @@ public: virtual bool FromString(const wxChar *str); - bool Ok() const { return m_refData != NULL; } + bool Ok() const { return IsOk(); } + bool IsOk() const { return m_refData != NULL; } bool operator == ( const wxColour& col ) const; bool operator != ( const wxColour& col ) const { return !(*this == col); }