X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/231b9591aac1d6a507aa1ecfeb5f57e720003391..c1ea6afb878385e2586007fc85fef05c2c722a2b:/include/wx/gtk1/brush.h diff --git a/include/wx/gtk1/brush.h b/include/wx/gtk1/brush.h index c7ea67babe..7a44ae2a33 100644 --- a/include/wx/gtk1/brush.h +++ b/include/wx/gtk1/brush.h @@ -51,6 +51,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 + private: virtual wxGDIRefData *CreateGDIRefData() const; virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;