X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4acff284f9516e2a4f0fcfa7bcfa3f497b8005cc..d975da9bc4f16d73730a158dd94e4a108034c30b:/wxPython/src/wx.i diff --git a/wxPython/src/wx.i b/wxPython/src/wx.i index 351c6e4bb1..010621f4fa 100644 --- a/wxPython/src/wx.i +++ b/wxPython/src/wx.i @@ -12,6 +12,7 @@ %module wx + %{ #include "helpers.h" %} @@ -107,7 +108,8 @@ public: %inline %{ wxPyApp* wxGetApp() { - return wxPythonApp; + //return wxPythonApp; + return (wxPyApp*)wxGetApp(); } %}