explicitly call OnExit() in the ports which don't use wxEventLoopManual

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-12-06 23:28:44 +00:00
parent 99b37d672b
commit 16d17da6ca
7 changed files with 14 additions and 11 deletions

View File

@@ -75,6 +75,8 @@ int wxEventLoop::Run()
gtk_main();
OnExit();
int exitcode = m_impl->GetExitCode();
delete m_impl;
m_impl = NULL;