support for iPhone callbacks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b8f0ac88a5
commit
d3fa4bc22e
1 changed files with 11 additions and 3 deletions
|
|
@ -50,13 +50,21 @@
|
|||
|
||||
@implementation wxAppDelegate
|
||||
|
||||
- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||
{
|
||||
wxUnusedVar(application);
|
||||
wxUnusedVar(launchOptions);
|
||||
wxTheApp->OSXOnWillFinishLaunching();
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)applicationDidFinishLaunching:(UIApplication *)application {
|
||||
wxTheApp->OnInit();
|
||||
wxTheApp->OSXOnDidFinishLaunching();
|
||||
}
|
||||
|
||||
- (void)applicationWillTerminate:(UIApplication *)application {
|
||||
wxCloseEvent event;
|
||||
wxTheApp->OnEndSession(event);
|
||||
wxUnusedVar(application);
|
||||
wxTheApp->OSXOnWillTerminate();
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue