X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..0643d43cad854f8d1b5588bb293c992d573b2a25:/include/wx/gtk/brush.h diff --git a/include/wx/gtk/brush.h b/include/wx/gtk/brush.h index 47ebc69caa..6d9a410429 100644 --- a/include/wx/gtk/brush.h +++ b/include/wx/gtk/brush.h @@ -26,7 +26,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); }