- (void)applicationWillFinishLaunching:(NSApplication *)application {
wxUnusedVar(application);
- wxTheApp->OnInit();
}
- (BOOL)application:(NSApplication *)sender openFile:(NSString *)filename;
}
@end
-bool wxApp::CallOnInit()
-{
- if ( sm_isEmbedded )
- return OnInit();
-
- return true;
-}
-
bool wxApp::DoInitGui()
{
wxMacAutoreleasePool pool;