]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/brush.h
Use (newly) added wxStaticCastVariantData() to fix wxNO_RTTI build.
[wxWidgets.git] / include / wx / gtk / brush.h
index 5c3e1d7ab693dc7c91456d82f792a31529a08a46..848fdf8cc5c88b3256ea0b739dd68e471afbbf21 100644 (file)
@@ -41,6 +41,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
+
 protected:
     virtual wxGDIRefData *CreateGDIRefData() const;
     virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;