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:
@@ -61,6 +61,10 @@ void wxBell()
|
|||||||
wxTheApp->OnInit();
|
wxTheApp->OnInit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)applicationWillTerminate:(UIApplication *)application {
|
||||||
|
wxCloseEvent event;
|
||||||
|
wxTheApp->OnEndSession(event);
|
||||||
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
- (void)dealloc {
|
||||||
[super dealloc];
|
[super dealloc];
|
||||||
|
Reference in New Issue
Block a user