X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d07d2bc9d05408c58b76c53a0a291915b88e5064..05e00ac5ef410707da86d98786cbb268100a7337:/wxPython/src/_app.i diff --git a/wxPython/src/_app.i b/wxPython/src/_app.i index d28c88992c..fc25d1c8c1 100644 --- a/wxPython/src/_app.i +++ b/wxPython/src/_app.i @@ -334,15 +334,16 @@ Python shuts down.", ""); %} -DocStr(wxGetApp, - "Return a reference to the current wx.App object.", ""); -%inline %{ - wxPyApp* wxGetApp() { - return (wxPyApp*)wxTheApp; - } +DocDeclStrName( + wxPyApp* , wxPyGetApp(), + "Return a reference to the current wx.App object.", "", + GetApp); +%{ + wxPyApp* wxPyGetApp() { return (wxPyApp*)wxTheApp; } %} + //--------------------------------------------------------------------------- // Include some extra wxApp related python code here