]> git.saurik.com Git - wxWidgets.git/commitdiff
wiring osx native notification during launch
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 22 Jul 2013 16:17:27 +0000 (16:17 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 22 Jul 2013 16:17:27 +0000 (16:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/app.h
src/osx/carbon/app.cpp

index 5e79828ca2831bdb02d02d7eed5ee44b66dab600..0efd8c05a73d0f0f3d5cc6ca9ecc2e1ff4f8d9ad 100644 (file)
@@ -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();
index f33ac195cc525b8e1e65d735ad5dd7f17ccc853c..f24210f1ca93bbf80a63373b58fd4c23ca85318d 100644 (file)
@@ -401,6 +401,14 @@ void wxApp::MacReopenApp()
     }
 }
 
+void wxApp::OSXOnWillFinishLaunching()
+{
+}
+
+void wxApp::OSXOnDidFinishLaunching()
+{
+}
+
 //----------------------------------------------------------------------
 // Macintosh CommandID support - converting between native and wx IDs
 //----------------------------------------------------------------------