X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69223c701760ac3b63b948f3ffac247d9f962d05..3eac0818ff869f347e7fe3f745079624f3669b57:/wxPython/contrib/iewin/iewin_wrap.cpp?ds=sidebyside diff --git a/wxPython/contrib/iewin/iewin_wrap.cpp b/wxPython/contrib/iewin/iewin_wrap.cpp index 2f7735599e..d3c535df79 100644 --- a/wxPython/contrib/iewin/iewin_wrap.cpp +++ b/wxPython/contrib/iewin/iewin_wrap.cpp @@ -564,6 +564,7 @@ static PyObject *_wrap_new_IEHtmlWin(PyObject *self, PyObject *args, PyObject *k } } { + if (!wxPyCheckForApp()) SWIG_fail; PyThreadState* __tstate = wxPyBeginAllowThreads(); result = (wxIEHtmlWin *)new wxIEHtmlWin(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);