X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..a7f8eb6d0fe67f96eb6b7e3a88ba27d80756162b:/include/wx/mgl/brush.h diff --git a/include/wx/mgl/brush.h b/include/wx/mgl/brush.h index ae8f784b80..1bbf1a538b 100644 --- a/include/wx/mgl/brush.h +++ b/include/wx/mgl/brush.h @@ -33,10 +33,11 @@ public: wxBrush() {} wxBrush(const wxColour &colour, int style = wxSOLID); wxBrush(const wxBitmap &stippleBitmap); - ~wxBrush() {} + virtual ~wxBrush() {} bool operator == (const wxBrush& brush) const; bool operator != (const wxBrush& brush) const; - bool Ok() const; + bool Ok() const { return IsOk(); } + bool IsOk() const; virtual int GetStyle() const; wxColour &GetColour() const;