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:
parent
99d56959aa
commit
81f4347c71
@ -186,8 +186,10 @@ public:
|
|||||||
{
|
{
|
||||||
// _CrtSetBreakAlloc(5632);
|
// _CrtSetBreakAlloc(5632);
|
||||||
|
|
||||||
|
#if wxUSE_ON_FATAL_EXCEPTION
|
||||||
if (! wxIsDebuggerRunning())
|
if (! wxIsDebuggerRunning())
|
||||||
wxHandleFatalExceptions();
|
wxHandleFatalExceptions();
|
||||||
|
#endif
|
||||||
|
|
||||||
// Initialise the global config file
|
// Initialise the global config file
|
||||||
wxConfigBase::Set(new wxConfig(_T("Atlas Editor"), _T("Wildfire Games")));
|
wxConfigBase::Set(new wxConfig(_T("Atlas Editor"), _T("Wildfire Games")));
|
||||||
|
Loading…
Reference in New Issue
Block a user