X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8628b7d4139d1fa2ab60b254a1a346008d4a9123..05f32fc39e4aae6144c24971c74a11d119cea82e:/include/wx/gtk1/brush.h 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); }