X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..fd5cfba71157c481b5bc90563d0d990ec67ecb11:/include/wx/cocoa/pen.h?ds=sidebyside diff --git a/include/wx/cocoa/pen.h b/include/wx/cocoa/pen.h index 3ee5c2f349..279f3d3894 100644 --- a/include/wx/cocoa/pen.h +++ b/include/wx/cocoa/pen.h @@ -46,7 +46,7 @@ public: void SetJoin(wxPenJoin join); void SetCap(wxPenCap cap); - wxColour& GetColour() const; + wxColour GetColour() const; int GetWidth() const; wxPenStyle GetStyle() const; wxPenJoin GetJoin() const; @@ -54,6 +54,12 @@ public: int GetDashes(wxDash **ptr) const; wxBitmap *GetStipple() const; +#if FUTURE_WXWIN_COMPATIBILITY_3_0 + wxDEPRECATED_FUTURE( void SetStyle(int style) ) + { SetStyle((wxPenStyle)style); } +#endif + + // Cocoa-specific WX_NSColor GetNSColor(); int GetCocoaLineDash(const CGFloat **pattern);