X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef0e92205a01c7d0ca6f381cc690cb5d4fa595c9..78fd3d12bc0f956d755a70564305863531010c34:/include/wx/brush.h diff --git a/include/wx/brush.h b/include/wx/brush.h index fa0103cf4d..9eb0a4c7e1 100644 --- a/include/wx/brush.h +++ b/include/wx/brush.h @@ -55,11 +55,6 @@ public: virtual bool IsHatch() const { return (GetStyle()>=wxBRUSHSTYLE_FIRST_HATCH) && (GetStyle()<=wxBRUSHSTYLE_LAST_HATCH); } - -#if FUTURE_WXWIN_COMPATIBILITY_3_0 - wxDEPRECATED_FUTURE( void SetStyle(int style) ) - { SetStyle((wxBrushStyle)style); } -#endif }; #if defined(__WXPALMOS__) @@ -113,7 +108,7 @@ extern WXDLLIMPEXP_DATA_CORE(wxBrushList*) wxTheBrushList; inline bool operator==(wxBrushStyle s, wxDeprecatedGUIConstants t) { - return wx_static_cast(int, s) == wx_static_cast(int, t); + return static_cast(s) == static_cast(t); } inline bool operator!=(wxBrushStyle s, wxDeprecatedGUIConstants t)