]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/pen.h
Workaround for GTK+ sensitivity bug
[wxWidgets.git] / include / wx / gtk1 / pen.h
index 887a77951cbd923b79c87b92f51bcde1eeb6a0ba..97fea928a31962b3eeb0d98a8336d140e7296ebd 100644 (file)
@@ -64,6 +64,11 @@ public:
     wxDash* GetDash() const;
     wxBitmap *GetStipple() const;
 
     wxDash* GetDash() const;
     wxBitmap *GetStipple() const;
 
+#if FUTURE_WXWIN_COMPATIBILITY_3_0
+    wxDEPRECATED_FUTURE( void SetStyle(int style) )
+        { SetStyle((wxPenStyle)style); }
+#endif
+
 private:
     virtual wxGDIRefData *CreateGDIRefData() const;
     virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
 private:
     virtual wxGDIRefData *CreateGDIRefData() const;
     virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;