reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-14 22:18:25 +00:00
parent 70ff36630f
commit caef1a4da6
16 changed files with 665 additions and 237 deletions

View File

@@ -1341,9 +1341,7 @@ wxPyApp *new_wxPyApp(){
}
wxPyApp* wxGetApp() {
return (wxPyApp*)wxTheApp;
}
wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
@@ -20775,7 +20773,7 @@ static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs)
if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
{
PyThreadState* __tstate = wxPyBeginAllowThreads();
result = (wxPyApp *)wxGetApp();
result = (wxPyApp *)wxPyGetApp();
wxPyEndAllowThreads(__tstate);
if (PyErr_Occurred()) SWIG_fail;