X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9416aa89ca06d0fb20b1002e026d2c7ac7aa6a17..06b781c7c630ff8c2ab30211cb4351b4cb5bfb47:/wxPython/src/my_typemaps.i diff --git a/wxPython/src/my_typemaps.i b/wxPython/src/my_typemaps.i index 140215972a..b1c58defd6 100644 --- a/wxPython/src/my_typemaps.i +++ b/wxPython/src/my_typemaps.i @@ -18,6 +18,7 @@ wxPy_BEGIN_ALLOW_THREADS; $function wxPy_END_ALLOW_THREADS; + if (PyErr_Occurred()) return NULL; } //----------------------------------------------------------------------