X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c6eb3a84be918dcfed2496d014549e13af0f0e9..fe1a36a70c2f5ed8a6f9ea0b82005ebb987e5860:/include/wx/osx/carbon/brush.h diff --git a/include/wx/osx/carbon/brush.h b/include/wx/osx/carbon/brush.h index 0d4d1c5586..68778697e2 100644 --- a/include/wx/osx/carbon/brush.h +++ b/include/wx/osx/carbon/brush.h @@ -42,6 +42,11 @@ public: wxBrushStyle GetStyle() const ; wxBitmap *GetStipple() const ; +#if FUTURE_WXWIN_COMPATIBILITY_3_0 + wxDEPRECATED_FUTURE( void SetStyle(int style) ) + { SetStyle((wxBrushStyle)style); } +#endif + protected: virtual wxGDIRefData *CreateGDIRefData() const; virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;