]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/wx.i
added a comment about the default button handling
[wxWidgets.git] / wxPython / src / wx.i
index 27d5a3d51a43db186df05acb31f49daacbef2a4e..432dc65aee299150a7aa3a66a747390210d9c582 100644 (file)
@@ -108,7 +108,8 @@ public:
 
 %inline %{
     wxPyApp* wxGetApp() {
-        return wxPythonApp;
+        //return wxPythonApp;
+        return (wxPyApp*)wxTheApp;
     }
 %}