reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-14 21:38:16 +00:00
parent 1a10485f79
commit db3e571a39
18 changed files with 803 additions and 289 deletions

View File

@@ -1342,9 +1342,7 @@ int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
}
wxPyApp* wxGetApp() {
return (wxPyApp*)wxTheApp;
}
wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; }
@@ -20777,7 +20775,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;