X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19e30148e18cc99296b26503c155e5cef59045f4..41fecb4451682f11e352fc5b9b7383f6335322a7:/wxPython/src/wx.i diff --git a/wxPython/src/wx.i b/wxPython/src/wx.i index 010621f4fa..6614275ff9 100644 --- a/wxPython/src/wx.i +++ b/wxPython/src/wx.i @@ -12,7 +12,6 @@ %module wx - %{ #include "helpers.h" %} @@ -109,7 +108,7 @@ public: %inline %{ wxPyApp* wxGetApp() { //return wxPythonApp; - return (wxPyApp*)wxGetApp(); + return (wxPyApp*)wxTheApp; } %}