]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/my_typemaps.i
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / wxPython / src / my_typemaps.i
index 140215972a5100bfdfb3a49d084126bda3edecd3..b1c58defd693cd4e5d3a034e42a3aae05eb02f4f 100644 (file)
@@ -18,6 +18,7 @@
     wxPy_BEGIN_ALLOW_THREADS;
     $function
     wxPy_END_ALLOW_THREADS;
+    if (PyErr_Occurred()) return NULL;
 }
 
 //----------------------------------------------------------------------