]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/brush.h
Don't generate any events from wxSpinCtrl and wxSpinCtrlDouble methods.
[wxWidgets.git] / include / wx / msw / brush.h
index 3d1c7e3ae15f53d14dda634f03acb08adea968a7..9665fd113374c6e30761d345ea6f1fad4c66bdfc 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      Julian Smart
 // Modified by:
 // Created:     01/02/97
-// RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -43,6 +42,11 @@ public:
     wxBrushStyle GetStyle() const;
     wxBitmap *GetStipple() const;
 
+#if FUTURE_WXWIN_COMPATIBILITY_3_0
+    wxDEPRECATED_FUTURE( void SetStyle(int style) )
+        { SetStyle((wxBrushStyle)style); }
+#endif
+
     // return the HBRUSH for this brush
     virtual WXHANDLE GetResourceHandle() const;