X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9416aa89ca06d0fb20b1002e026d2c7ac7aa6a17..5bf2abe34850e0952a44f3be4a4390ea12c55bd0:/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; } //----------------------------------------------------------------------