]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/iewin/iewin_wrap.cpp
undo last change
[wxWidgets.git] / wxPython / contrib / iewin / iewin_wrap.cpp
index 2f7735599e83dbb344de8427cae783f3e6346152..d3c535df79ea6102d9bda193c9efc0ffa0d767d8 100644 (file)
@@ -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);
         
         PyThreadState* __tstate = wxPyBeginAllowThreads();
         result = (wxIEHtmlWin *)new wxIEHtmlWin(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);