X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0416c41834f36316a03720c4ed05cdf36964a2f3..23c06cde5df85dbfd94e92e90de225618191153f:/include/wx/gtk/brush.h?ds=inline diff --git a/include/wx/gtk/brush.h b/include/wx/gtk/brush.h index 6a92478809..6d9a410429 100644 --- a/include/wx/gtk/brush.h +++ b/include/wx/gtk/brush.h @@ -24,9 +24,10 @@ public: wxBrush( const wxColour &colour, int style = wxSOLID ); wxBrush( const wxBitmap &stippleBitmap ); - ~wxBrush(); + 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); }