From cf923a86cd8411f6d3c0812023cdfd60d3b88ee9 Mon Sep 17 00:00:00 2001 From: David Elliott Date: Sun, 6 Jul 2003 16:54:17 +0000 Subject: [PATCH] Remove finishLaunching method which called wxTheApp->OnInit() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/cocoa/app.mm | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/cocoa/app.mm b/src/cocoa/app.mm index 8f514adc44..580e64ae76 100644 --- a/src/cocoa/app.mm +++ b/src/cocoa/app.mm @@ -52,7 +52,6 @@ wxPoseAsInitializer *wxPoseAsInitializer::sm_first = NULL; } - (void)doIdle: (id)data; -- (void)finishLaunching; - (void)sendEvent: (NSEvent*)anEvent; - (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication; @end // wxPoserNSApplication @@ -81,16 +80,6 @@ wxPoseAsInitializer *wxPoseAsInitializer::sm_first = NULL; wxTheApp->CocoaRequestIdle(); } -- (void)finishLaunching -{ - wxLogDebug("finishLaunching"); - bool initsuccess = wxTheApp->OnInit(); - if(!initsuccess) - [super stop: NULL]; - - [super finishLaunching]; -} - - (void)sendEvent: (NSEvent*)anEvent { wxLogDebug("SendEvent"); -- 2.45.2