]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/wx.i
Probably only whitespace changes
[wxWidgets.git] / wxPython / src / wx.i
index 351c6e4bb1812c8c4f46d592f4e92c35f1b70029..432dc65aee299150a7aa3a66a747390210d9c582 100644 (file)
@@ -12,6 +12,7 @@
 
 %module wx
 
+
 %{
 #include "helpers.h"
 %}
@@ -107,7 +108,8 @@ public:
 
 %inline %{
     wxPyApp* wxGetApp() {
-        return wxPythonApp;
+        //return wxPythonApp;
+        return (wxPyApp*)wxTheApp;
     }
 %}