]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove finishLaunching method which called wxTheApp->OnInit()
authorDavid Elliott <dfe@tgwbd.org>
Sun, 6 Jul 2003 16:54:17 +0000 (16:54 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sun, 6 Jul 2003 16:54:17 +0000 (16:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/app.mm

index 8f514adc440e6b83553e38b0b98e1c70b642a2ca..580e64ae76cfa81758ae03fade1ebd10e008430d 100644 (file)
@@ -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");