]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/pen.h
Fix a very annoying autorelease pool memory leak.
[wxWidgets.git] / include / wx / cocoa / pen.h
index 73f7c568f191b9bcaa4cbc5dd9625ebb457484a2..66a0c7f367129b86f6fbfbf6ef909914785f98e6 100644 (file)
@@ -4,7 +4,6 @@
 // Author:      David Elliott
 // Modified by:
 // Created:     2003/08/02 (stubs from 22.03.2003)
-// RCS-ID:      $Id$
 // Copyright:   (c) 2003 David Elliott
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -54,6 +53,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);