parent
826096790d
commit
2874688281
|
@ -28,6 +28,7 @@
|
|||
#include <strsafe.h>
|
||||
#include <config.h>
|
||||
#include <VersionHelpers.h>
|
||||
#include <werapi.h>
|
||||
|
||||
|
||||
bool KIPLATFORM::APP::Init()
|
||||
|
@ -38,6 +39,12 @@ bool KIPLATFORM::APP::Init()
|
|||
_CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF );
|
||||
#endif
|
||||
|
||||
// undo wxwidgets trying to hide errors
|
||||
SetErrorMode( 0 );
|
||||
|
||||
// ensure the WER crash report dialog always appears
|
||||
WerSetFlags( WER_FAULT_REPORTING_ALWAYS_SHOW_UI );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue