X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a1498c08b07625baa087622e75637a2f15325b6..bc07ab17bf5370f452e899128bf89cc7ca7b98f0:/include/wx/mgl/brush.h?ds=sidebyside diff --git a/include/wx/mgl/brush.h b/include/wx/mgl/brush.h index cdb9dc8fb2..1bbf1a538b 100644 --- a/include/wx/mgl/brush.h +++ b/include/wx/mgl/brush.h @@ -33,12 +33,11 @@ public: wxBrush() {} wxBrush(const wxColour &colour, int style = wxSOLID); wxBrush(const wxBitmap &stippleBitmap); - wxBrush(const wxBrush &brush); - ~wxBrush() {} - wxBrush& operator = (const wxBrush& brush); + 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;