X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dc8883366b1fbbf052bb85ba59ce8c134b668fa0..d7e918b594dccaada636fb2dd99081bc89e99db6:/include/wx/gtk/colour.h diff --git a/include/wx/gtk/colour.h b/include/wx/gtk/colour.h index 25f0d58caf..01b49c45aa 100644 --- a/include/wx/gtk/colour.h +++ b/include/wx/gtk/colour.h @@ -27,7 +27,8 @@ public: virtual ~wxColour(); - 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); }