X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fd4be5571cbbbeaa6c4f7dabcc2ba69fe1e3471..52f52ebc4e0be6a9899d328b08db9eb14629d219:/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;