1
0
forked from 0ad/0ad

Fix #553 (build error when wxUSE_ON_FATAL_EXCEPTION disabled), based on patch from Karlik

This was SVN commit r8044.
This commit is contained in:
Ykkrosh 2010-08-29 12:51:52 +00:00
parent 99d56959aa
commit 81f4347c71

View File

@ -186,8 +186,10 @@ public:
{
// _CrtSetBreakAlloc(5632);
#if wxUSE_ON_FATAL_EXCEPTION
if (! wxIsDebuggerRunning())
wxHandleFatalExceptions();
#endif
// Initialise the global config file
wxConfigBase::Set(new wxConfig(_T("Atlas Editor"), _T("Wildfire Games")));