From: Vadim Zeitlin Date: Sun, 11 Feb 2007 02:14:49 +0000 (+0000) Subject: define DisableAutomaticSETranslator() correctly when wxUSE_ON_FATAL_EXCEPTION==0... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3c77aabe5944a5e414af0417630b6f624da481f9?ds=inline define DisableAutomaticSETranslator() correctly when wxUSE_ON_FATAL_EXCEPTION==0, this fixes linking in this case (replaces patch 1646340) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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