]> git.saurik.com Git - wxWidgets.git/commitdiff
define DisableAutomaticSETranslator() correctly when wxUSE_ON_FATAL_EXCEPTION==0...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Feb 2007 02:14:49 +0000 (02:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Feb 2007 02:14:49 +0000 (02:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/seh.h

index caab1a437031db989f37ddc2428fa42c2a015245..edcefb8fd35121bba4968d8306cf27835ef44472 100644 (file)
@@ -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 <eh.h>
 
     // C++ exception to structured exceptions translator: we need it in order