proper app shutdown support for iphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
48567d2790
commit
747dbaba91
@ -61,6 +61,10 @@ void wxBell()
|
||||
wxTheApp->OnInit();
|
||||
}
|
||||
|
||||
- (void)applicationWillTerminate:(UIApplication *)application {
|
||||
wxCloseEvent event;
|
||||
wxTheApp->OnEndSession(event);
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
[super dealloc];
|
||||
|
Loading…
Reference in New Issue
Block a user