X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..e4c903b2ea42fe104ef50d0ea6028f14d8309dfa:/include/wx/cocoa/pen.h 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);