From 84bdb0d8d7d7fe3d7cd6a2e5f50ee247ce2af5df Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 26 Mar 2005 19:07:13 +0000 Subject: [PATCH] compilation fix for wxUSE_ON_FATAL_EXCEPTION == 0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2