parent
187aa1c171
commit
ae01dc8ef1
|
@ -39,8 +39,12 @@ bool KIPLATFORM::APP::Init()
|
||||||
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF );
|
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined( DEBUG )
|
||||||
// undo wxwidgets trying to hide errors
|
// undo wxwidgets trying to hide errors
|
||||||
SetErrorMode( 0 );
|
SetErrorMode( 0 );
|
||||||
|
#else
|
||||||
|
SetErrorMode( SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX );
|
||||||
|
#endif
|
||||||
|
|
||||||
// ensure the WER crash report dialog always appears
|
// ensure the WER crash report dialog always appears
|
||||||
WerSetFlags( WER_FAULT_REPORTING_ALWAYS_SHOW_UI );
|
WerSetFlags( WER_FAULT_REPORTING_ALWAYS_SHOW_UI );
|
||||||
|
|
Loading…
Reference in New Issue