X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..5abefd049eaed7d83ed60ddf2750bea830ce06b6:/include/wx/gtk1/brush.h?ds=sidebyside diff --git a/include/wx/gtk1/brush.h b/include/wx/gtk1/brush.h index f6efa7c8b5..51e1c78548 100644 --- a/include/wx/gtk1/brush.h +++ b/include/wx/gtk1/brush.h @@ -36,7 +36,8 @@ public: wxBrush( const wxBitmap &stippleBitmap ); virtual ~wxBrush(); - bool Ok() const { return m_refData != NULL; } + bool Ok() const { return IsOk(); } + bool IsOk() const { return m_refData != NULL; } bool operator == ( const wxBrush& brush ) const; bool operator != (const wxBrush& brush) const { return !(*this == brush); }