|
|
|
@ -42,8 +42,12 @@ bool KIPLATFORM::APP::Init() |
|
|
|
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF ); |
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined( DEBUG )
|
|
|
|
// undo wxwidgets trying to hide errors
|
|
|
|
SetErrorMode( 0 ); |
|
|
|
#else
|
|
|
|
SetErrorMode( SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX ); |
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined( _MSC_VER )
|
|
|
|
// ensure the WER crash report dialog always appears
|
|
|
|
|