X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8628b7d4139d1fa2ab60b254a1a346008d4a9123..5abefd049eaed7d83ed60ddf2750bea830ce06b6:/include/wx/gtk1/brush.h?ds=inline diff --git a/include/wx/gtk1/brush.h b/include/wx/gtk1/brush.h index eb425d067e..51e1c78548 100644 --- a/include/wx/gtk1/brush.h +++ b/include/wx/gtk1/brush.h @@ -34,9 +34,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); }