Remove finishLaunching method which called wxTheApp->OnInit()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2003-07-06 16:54:17 +00:00
parent fd497edead
commit cf923a86cd

View 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");