]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/brush.h
fix the wrong #ifdef WXWIN_COMPATIBILITY_2_8 checks, #if should be used (#9644)
[wxWidgets.git] / include / wx / gtk1 / brush.h
index c7ea67babecba5ce1c9a3fa3495cb06b4793cb14..7a44ae2a335dff62b200b501056a396fb67d6e1f 100644 (file)
@@ -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;