]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/wx.i
Updated wxPython build instructions
[wxWidgets.git] / wxPython / src / wx.i
index 27d5a3d51a43db186df05acb31f49daacbef2a4e..e7bb17b37a8cb185db80469286ffd62c62af5ef3 100644 (file)
@@ -108,12 +108,12 @@ public:
 
 %inline %{
     wxPyApp* wxGetApp() {
-        return wxPythonApp;
+        //return wxPythonApp;
+        return (wxPyApp*)wxTheApp;
     }
 %}
 
 
-
 //----------------------------------------------------------------------
 // this is used to cleanup after wxWindows when Python shuts down.