X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e234d4c9b72709629e655b2935a3bf1262eebcb1..1fded56b375bf7a4687af1cdb182899614c1b2a8:/wxPython/src/image.i diff --git a/wxPython/src/image.i b/wxPython/src/image.i index 8e001f0d11..ee6606d097 100644 --- a/wxPython/src/image.i +++ b/wxPython/src/image.i @@ -333,6 +333,8 @@ public: return bitmap; } } + + %pragma(python) addtoclass = "def __nonzero__(self): return self.Ok()" };