X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..97c5b168b3c548a86dcccbcba7d303d2e2d77a7b:/include/wx/mgl/pen.h diff --git a/include/wx/mgl/pen.h b/include/wx/mgl/pen.h index 3be08b3293..6454bee1b2 100644 --- a/include/wx/mgl/pen.h +++ b/include/wx/mgl/pen.h @@ -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;