]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/image.i
wxPython Merge #2 of 2.4 branch --> HEAD (branch tag: wxPy_2_4_merge_2)
[wxWidgets.git] / wxPython / src / image.i
index 8e001f0d1164ef6cadbcd4090632bf736775093f..ee6606d097ed606af0fb302c4993bdf616488756 100644 (file)
@@ -333,6 +333,8 @@ public:
             return bitmap;
         }
     }
+
+    %pragma(python) addtoclass = "def __nonzero__(self): return self.Ok()"
 };