X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/231b9591aac1d6a507aa1ecfeb5f57e720003391..2a45803fc3877afd0ae3ce356dfe216505165882:/include/wx/cocoa/pen.h diff --git a/include/wx/cocoa/pen.h b/include/wx/cocoa/pen.h index 73f7c568f1..279f3d3894 100644 --- a/include/wx/cocoa/pen.h +++ b/include/wx/cocoa/pen.h @@ -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);