X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..0facd0e524cf285ef0a567648fa1369e32fdb96c:/wxPython/src/_pen.i diff --git a/wxPython/src/_pen.i b/wxPython/src/_pen.i index 3c0677b5fb..757872a251 100644 --- a/wxPython/src/_pen.i +++ b/wxPython/src/_pen.i @@ -62,7 +62,17 @@ public: return retval; } } + + %extend { + bool __eq__(const wxPen* other) { return other ? (*self == *other) : False; } + bool __ne__(const wxPen* other) { return other ? (*self != *other) : True; } + } +#ifndef __WXMAC__ +// wxDash* GetDash() const; + int GetDashCount() const; +#endif + #ifdef __WXMSW__ wxBitmap* GetStipple(); void SetStipple(wxBitmap& stipple);