X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..42f8298f6f42d5d63bb3caf65682b7d9d9f8b702:/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() } };