X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aea95b1c3a8ae221cc3aade5ce49a3cf848fd56a..523d2f145ef7d8e653fbe1f16797c1f0b4d91c16:/include/wx/x11/colour.h diff --git a/include/wx/x11/colour.h b/include/wx/x11/colour.h index 17c4f534c0..101055920a 100644 --- a/include/wx/x11/colour.h +++ b/include/wx/x11/colour.h @@ -44,7 +44,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); }