X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7adf0b4de22c8841465564842c4a91a79bef8071..21bd196564d8483879a57c40ec1eea64114f9bd4:/src/msw/main.cpp diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 93b4eb4e4d..e393c80815 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -70,7 +70,7 @@ extern int wxEntryReal(int& argc, wxChar **argv); #if wxUSE_BASE -#if defined(__VISUALC__) && !defined(__WXWINCE__) +#if wxUSE_ON_FATAL_EXCEPTION && defined(__VISUALC__) && !defined(__WXWINCE__) // VC++ (at least from 4.0 up to version 7.1) is incredibly broken in that // a "catch ( ... )" will *always* catch SEH exceptions in it even though // it should have never been the case... to prevent such catches from