reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-05-15 16:26:50 +00:00
parent 96cadce3c8
commit a5ee0656c2
17 changed files with 740 additions and 288 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;