X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f0ff538b1190846f81e77ffc6e495201503cfe0..52f52ebc4e0be6a9899d328b08db9eb14629d219:/wxPython/src/_pen.i diff --git a/wxPython/src/_pen.i b/wxPython/src/_pen.i index 6f0afd99c3..757872a251 100644 --- a/wxPython/src/_pen.i +++ b/wxPython/src/_pen.i @@ -62,10 +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; } + } -// wxDash* GetDash() const { return (M_PENDATA ? (wxDash*)M_PENDATA->m_dash : (wxDash*)NULL); }; +#ifndef __WXMAC__ +// wxDash* GetDash() const; int GetDashCount() const; - +#endif + #ifdef __WXMSW__ wxBitmap* GetStipple(); void SetStipple(wxBitmap& stipple);