]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/pen.h
add wxScrollHelper::ShowScrollbars() (implemented for GTK only right now, generic...
[wxWidgets.git] / include / wx / mgl / pen.h
index 3be08b3293c8e0234e187b14b681f284bf75e3c6..6454bee1b251bf2ad75396fa9d9cce4d3d2c7124 100644 (file)
@@ -50,7 +50,7 @@ public:
     void SetDashes(int number_of_dashes, const wxDash *dash);
     void SetStipple(const wxBitmap& stipple);
 
-    wxColour &GetColour() const;
+    wxColour GetColour() const;
     wxPenCap GetCap() const;
     wxPenJoin GetJoin() const;
     wxPenStyle GetStyle() const;
@@ -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;