X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc51b8c37ea65b33ccc00e6d0c94a8400c14a843..40f7145ca55ccf1b197e70acf79bbd4aa5d85145:/wxPython/src/wx.i?ds=inline 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(); } %}