]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/pen.h
don't use annoying and unneeded in C++ casts of NULL to "T *"
[wxWidgets.git] / include / wx / mgl / pen.h
index cd7188c4650a20bc1b62cffd165e046f26f470b7..6454bee1b251bf2ad75396fa9d9cce4d3d2c7124 100644 (file)
@@ -60,6 +60,11 @@ public:
     wxDash* GetDash() const;
     wxBitmap *GetStipple() const;
 
+#if FUTURE_WXWIN_COMPATIBILITY_3_0
+    wxDEPRECATED_FUTURE( void SetStyle(int style) )
+        { SetStyle((wxPenStyle)style); }
+#endif
+
     // implementation:
     void* GetPixPattern() const;