Call OnUnhandledException() only when wxWidgets is compiled with exception handling.

Originally committed to SVN as r4044.
This commit is contained in:
Amar Takhar 2010-01-26 13:18:53 +00:00
parent 0cd4f1225d
commit 27a1d68ec4
1 changed files with 2 additions and 0 deletions

View File

@ -431,7 +431,9 @@ int AegisubApp::OnRun() {
file.close();
}
#if wxUSE_EXCEPTIONS
OnUnhandledException();
#endif
}
ExitMainLoop();