]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/brush.h
don't use annoying and unneeded in C++ casts of NULL to "T *"
[wxWidgets.git] / include / wx / mgl / brush.h
index 6dd2b763a64f93e0da99fe2bea25eec72386b819..ec06a3821ea8850b72af616db9554f3bdffc8916 100644 (file)
@@ -49,6 +49,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
+
     // implementation:
 
     void* GetMaskPattern() const;