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

View file

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