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
This commit is contained in:
Vadim Zeitlin
2007-02-11 02:17:28 +00:00
parent 53c48a7304
commit 0c1688d7b1

View File

@@ -47,7 +47,7 @@
#define wxSEH_HANDLE(rc) #define wxSEH_HANDLE(rc)
#endif // wxUSE_ON_FATAL_EXCEPTION #endif // wxUSE_ON_FATAL_EXCEPTION
#if defined(__VISUALC__) && !defined(__WXWINCE__) #if wxUSE_ON_FATAL_EXCEPTION && defined(__VISUALC__) && !defined(__WXWINCE__)
#include <eh.h> #include <eh.h>
// C++ exception to structured exceptions translator: we need it in order // C++ exception to structured exceptions translator: we need it in order