%inline %{
wxPyApp* wxGetApp() {
- return wxPythonApp;
+ //return wxPythonApp;
+ return (wxPyApp*)wxTheApp;
}
%}
-
//----------------------------------------------------------------------
// this is used to cleanup after wxWindows when Python shuts down.