diff --git a/libs/kiplatform/msw/app.cpp b/libs/kiplatform/msw/app.cpp index a877a9011d..9bfa09394c 100644 --- a/libs/kiplatform/msw/app.cpp +++ b/libs/kiplatform/msw/app.cpp @@ -28,6 +28,7 @@ #include #include #include +#include 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; }