]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/pen.h
check for self-assignment in operator=
[wxWidgets.git] / include / wx / cocoa / pen.h
index 73f7c568f191b9bcaa4cbc5dd9625ebb457484a2..279f3d38949b5d27434e0b0bedb9a70e41726119 100644 (file)
@@ -54,6 +54,12 @@ public:
     int GetDashes(wxDash **ptr) const;
     wxBitmap *GetStipple() const;
 
     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);
 
     WX_NSColor GetNSColor();
     int GetCocoaLineDash(const CGFloat **pattern);