From 038c99477c8cd14013cef892517012717c47df35 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 22 Jul 2013 16:17:27 +0000 Subject: [PATCH] wiring osx native notification during launch git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/osx/app.h | 4 ++++ src/osx/carbon/app.cpp | 8 ++++++++ 2 files changed, 12 insertions(+) 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 //---------------------------------------------------------------------- -- 2.45.2