%rename(WakeUpIdle) wxWakeUpIdle;
%rename(PostEvent) wxPostEvent;
%rename(App_CleanUp) wxApp_CleanUp;
-%rename(GetApp) wxGetApp;
%rename(AcceleratorEntry) wxAcceleratorEntry;
%rename(AcceleratorTable) wxAcceleratorTable;
%rename(NullAcceleratorTable) wxNullAcceleratorTable;
PyOnDemandOutputWindow
App
+GetApp
PySimpleApp
PyWidgetTester
%}
-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
wxLayoutConstraintsPtr = wx._core.LayoutConstraintsPtr
wxPyOnDemandOutputWindow = wx._core.PyOnDemandOutputWindow
wxApp = wx._core.App
+wxGetApp = wx._core.GetApp
wxPySimpleApp = wx._core.PySimpleApp
wxPyWidgetTester = wx._core.PyWidgetTester
wxApp_GetMacSupportPCMenuShortcuts = wx._core.App_GetMacSupportPCMenuShortcuts