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:
@@ -52,7 +52,6 @@ wxPoseAsInitializer *wxPoseAsInitializer::sm_first = NULL;
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)doIdle: (id)data;
|
- (void)doIdle: (id)data;
|
||||||
- (void)finishLaunching;
|
|
||||||
- (void)sendEvent: (NSEvent*)anEvent;
|
- (void)sendEvent: (NSEvent*)anEvent;
|
||||||
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication;
|
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication;
|
||||||
@end // wxPoserNSApplication
|
@end // wxPoserNSApplication
|
||||||
@@ -81,16 +80,6 @@ wxPoseAsInitializer *wxPoseAsInitializer::sm_first = NULL;
|
|||||||
wxTheApp->CocoaRequestIdle();
|
wxTheApp->CocoaRequestIdle();
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)finishLaunching
|
|
||||||
{
|
|
||||||
wxLogDebug("finishLaunching");
|
|
||||||
bool initsuccess = wxTheApp->OnInit();
|
|
||||||
if(!initsuccess)
|
|
||||||
[super stop: NULL];
|
|
||||||
|
|
||||||
[super finishLaunching];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)sendEvent: (NSEvent*)anEvent
|
- (void)sendEvent: (NSEvent*)anEvent
|
||||||
{
|
{
|
||||||
wxLogDebug("SendEvent");
|
wxLogDebug("SendEvent");
|
||||||
|
Reference in New Issue
Block a user