]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/wx.i
use specific linker flags under Mac OS X when linking executables against the
[wxWidgets.git] / wxPython / src / wx.i
index 351c6e4bb1812c8c4f46d592f4e92c35f1b70029..010621f4fa97666e0c7b07ebef69e5d2ee7148b6 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*)wxGetApp();
     }
 %}