X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..b519803b436486ca933d750c990ef64a29551221:/wxPython/src/_pen.i diff --git a/wxPython/src/_pen.i b/wxPython/src/_pen.i index 5f9f7a278e..860f18c987 100644 --- a/wxPython/src/_pen.i +++ b/wxPython/src/_pen.i @@ -107,8 +107,8 @@ public: %extend { - bool __eq__(const wxPen* other) { return other ? (*self == *other) : False; } - bool __ne__(const wxPen* other) { return other ? (*self != *other) : True; } + bool __eq__(const wxPen* other) { return other ? (*self == *other) : false; } + bool __ne__(const wxPen* other) { return other ? (*self != *other) : true; } } %pythoncode { def __nonzero__(self): return self.Ok() } };