X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab1f7d2aa9cb1857cf87e105ebbd36a92676bbde..c1cb24a46088fe648eabf5bf12cda8d2779c734f:/wxPython/src/_pen.i?ds=sidebyside 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() } };