@implementation wxNSAppController
-- (void)applicationWillFinishLaunching:(NSNotification *)application {
+- (void)applicationWillFinishLaunching:(NSNotification *)application
+{
wxUnusedVar(application);
// we must install our handlers later than setting the app delegate, because otherwise our handlers
[appleEventManager setEventHandler:self andSelector:@selector(handleOpenAppEvent:withReplyEvent:)
forEventClass:kCoreEventClass andEventID:kAEOpenApplication];
+ wxTheApp->OSXOnWillFinishLaunching();
+}
+
+- (void)applicationDidFinishLaunching:(NSNotification *)notification
+{
+ wxTheApp->OSXOnDidFinishLaunching();
}
- (void)application:(NSApplication *)sender openFiles:(NSArray *)fileNames