removing early init, fixes #12231
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -211,7 +211,11 @@ bool wxApp::DoInitGui()
|
|||||||
[appleEventManager setEventHandler:controller andSelector:@selector(handleGetURLEvent:withReplyEvent:)
|
[appleEventManager setEventHandler:controller andSelector:@selector(handleGetURLEvent:withReplyEvent:)
|
||||||
forEventClass:kInternetEventClass andEventID:kAEGetURL];
|
forEventClass:kInternetEventClass andEventID:kAEGetURL];
|
||||||
|
|
||||||
|
// calling finishLaunching so early before running the loop seems to trigger some 'MenuManager compatibility' which leads
|
||||||
|
// to the duplication of menus under 10.5 and a warning under 10.6
|
||||||
|
#if 0
|
||||||
[NSApp finishLaunching];
|
[NSApp finishLaunching];
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user