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:
Stefan Csomor 2010-02-23 17:32:01 +00:00
parent 48567d2790
commit 747dbaba91

View File

@ -61,6 +61,10 @@ void wxBell()
wxTheApp->OnInit();
}
- (void)applicationWillTerminate:(UIApplication *)application {
wxCloseEvent event;
wxTheApp->OnEndSession(event);
}
- (void)dealloc {
[super dealloc];