diff --git a/include/wx/osx/app.h b/include/wx/osx/app.h index 5e79828ca2..0efd8c05a7 100644 --- a/include/wx/osx/app.h +++ b/include/wx/osx/app.h @@ -142,6 +142,10 @@ public: virtual void MacNewFile() ; // in response of a reopen-application apple event virtual void MacReopenApp() ; + // immediately before the native event loop launches + virtual void OSXOnWillFinishLaunching(); + // immediately when the native event loop starts, no events have been served yet + virtual void OSXOnDidFinishLaunching(); // Hide the application windows the same as the system hide command would do it. void MacHideApp(); diff --git a/src/osx/carbon/app.cpp b/src/osx/carbon/app.cpp index f33ac195cc..f24210f1ca 100644 --- a/src/osx/carbon/app.cpp +++ b/src/osx/carbon/app.cpp @@ -401,6 +401,14 @@ void wxApp::MacReopenApp() } } +void wxApp::OSXOnWillFinishLaunching() +{ +} + +void wxApp::OSXOnDidFinishLaunching() +{ +} + //---------------------------------------------------------------------- // Macintosh CommandID support - converting between native and wx IDs //----------------------------------------------------------------------