From 0c1688d7b144777f4d2415132981984a62cc32c3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 11 Feb 2007 02:17:28 +0000 Subject: [PATCH] define DisableAutomaticSETranslator() correctly when wxUSE_ON_FATAL_EXCEPTION==0, this fixes linking in this case (replaces patch 1646340) (backport from HEAD) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/seh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/msw/seh.h b/include/wx/msw/seh.h index caab1a4370..edcefb8fd3 100644 --- a/include/wx/msw/seh.h +++ b/include/wx/msw/seh.h @@ -47,7 +47,7 @@ #define wxSEH_HANDLE(rc) #endif // wxUSE_ON_FATAL_EXCEPTION -#if defined(__VISUALC__) && !defined(__WXWINCE__) +#if wxUSE_ON_FATAL_EXCEPTION && defined(__VISUALC__) && !defined(__WXWINCE__) #include // C++ exception to structured exceptions translator: we need it in order