X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc51b8c37ea65b33ccc00e6d0c94a8400c14a843..4e1c35f810f574af79e649fa37171dfa7fc775ee:/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(); } %}