]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/brush.h
wxGraphicsRenderer::CreateContextFromImage is not static
[wxWidgets.git] / include / wx / cocoa / brush.h
index 965e35f109503062a08876aa2eeac7b6538ab292..47970da8cc228faa29df29cf4ebf0ac01f8d2146 100644 (file)
@@ -55,6 +55,11 @@ public:
     virtual wxBrushStyle GetStyle() const;
     wxBitmap *GetStipple() const;
 
     virtual wxBrushStyle GetStyle() const;
     wxBitmap *GetStipple() const;
 
+#if FUTURE_WXWIN_COMPATIBILITY_3_0
+    wxDEPRECATED_FUTURE( void SetStyle(int style) )
+        { SetStyle((wxBrushStyle)style); }
+#endif
+
     // wxCocoa
     WX_NSColor GetNSColor();
 
     // wxCocoa
     WX_NSColor GetNSColor();