]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/image.i
Morec ompilation fixes.
[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()"
 };