X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fd4be5571cbbbeaa6c4f7dabcc2ba69fe1e3471..a0c956e8e6db05d79a7bc4757ca56fd8bd016734:/wxPython/src/_pen.i diff --git a/wxPython/src/_pen.i b/wxPython/src/_pen.i index e7d1b7e8eb..757872a251 100644 --- a/wxPython/src/_pen.i +++ b/wxPython/src/_pen.i @@ -62,6 +62,11 @@ 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;