X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cdaed0ba00e01b31fe236b270b8a209f3ac8921..abcbaea73fa07b88ac681c78ea6933ba70a6fd72:/wxPython/src/wx.i?ds=sidebyside diff --git a/wxPython/src/wx.i b/wxPython/src/wx.i index 27d5a3d51a..6614275ff9 100644 --- a/wxPython/src/wx.i +++ b/wxPython/src/wx.i @@ -12,7 +12,6 @@ %module wx - %{ #include "helpers.h" %} @@ -108,7 +107,8 @@ public: %inline %{ wxPyApp* wxGetApp() { - return wxPythonApp; + //return wxPythonApp; + return (wxPyApp*)wxTheApp; } %}