X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97d6a30b2cb028c228982ae3bb93d3701f83f5ed..74b8433210c15d1dabeb5cc90e076b64867b9b42:/wxPython/src/my_typemaps.i diff --git a/wxPython/src/my_typemaps.i b/wxPython/src/my_typemaps.i index d9b078bc4e..f1bfc3cd7d 100644 --- a/wxPython/src/my_typemaps.i +++ b/wxPython/src/my_typemaps.i @@ -11,17 +11,6 @@ ///////////////////////////////////////////////////////////////////////////// -//--------------------------------------------------------------------------- -// Tell SWIG to wrap all the wrappers with our thread protection - -%exception { - PyThreadState* __tstate = wxPyBeginAllowThreads(); - $action - wxPyEndAllowThreads(__tstate); - if (PyErr_Occurred()) SWIG_fail; -} - - //---------------------------------------------------------------------- // Typemaps to convert a list of items to an int (size) and an array