X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..c9ccc09c64f4c29d4667796bef7b507d9e8d25ed:/include/wx/mgl/brush.h?ds=inline diff --git a/include/wx/mgl/brush.h b/include/wx/mgl/brush.h index 27d2d0a605..ec06a3821e 100644 --- a/include/wx/mgl/brush.h +++ b/include/wx/mgl/brush.h @@ -40,8 +40,8 @@ public: bool operator==(const wxBrush& brush) const; bool operator!=(const wxBrush& brush) const; - virtual wxBrushStyle GetStyle() const; - wxColour &GetColour() const; + wxBrushStyle GetStyle() const; + wxColour GetColour() const; wxBitmap *GetStipple() const; void SetColour(const wxColour& col); @@ -49,6 +49,11 @@ public: void SetStyle(wxBrushStyle style); void SetStipple(const wxBitmap& stipple); +#if FUTURE_WXWIN_COMPATIBILITY_3_0 + wxDEPRECATED_FUTURE( void SetStyle(int style) ) + { SetStyle((wxBrushStyle)style); } +#endif + // implementation: void* GetMaskPattern() const;