X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/175e9d71cde772ef56aa5d022392f39e63040d32..86ad5903b94d00e7c7625a705f6cd22301607ccd:/src/osx/cocoa/utils.mm diff --git a/src/osx/cocoa/utils.mm b/src/osx/cocoa/utils.mm index d14be5cd19..81f1d186f8 100644 --- a/src/osx/cocoa/utils.mm +++ b/src/osx/cocoa/utils.mm @@ -99,7 +99,6 @@ void wxMacWakeUp() - (void)applicationWillFinishLaunching:(NSApplication *)application { wxUnusedVar(application); - wxTheApp->OnInit(); } - (BOOL)application:(NSApplication *)sender openFile:(NSString *)filename; @@ -227,14 +226,6 @@ void wxMacWakeUp() } @end -bool wxApp::CallOnInit() -{ - if ( sm_isEmbedded ) - return OnInit(); - - return true; -} - bool wxApp::DoInitGui() { wxMacAutoreleasePool pool;