X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..f321ab7fb40525098cea6594ffbf2daf0186b1a3:/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); }