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:
parent
fd497edead
commit
cf923a86cd
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user