From: Julian Smart Date: Wed, 16 Feb 2005 00:08:28 +0000 (+0000) Subject: WinCE doesn't have _set_se_translator X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b734b2cafa686dc22775cdcfc3890f92c245e1b9 WinCE doesn't have _set_se_translator git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 15741e3ed7..7ee7a28fe7 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 -#ifdef __VISUALC__ +#if 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 @@ -226,7 +226,7 @@ int wxEntry(int& argc, wxChar **argv) #else // !wxUSE_ON_FATAL_EXCEPTION -#ifdef __VISUALC__ +#if defined(__VISUALC__) && !defined(__WXWINCE__) static void wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep)) @@ -239,9 +239,7 @@ wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep)) int wxEntry(int& argc, wxChar **argv) { -#ifndef __WXWINCE__ DisableAutomaticSETranslator(); -#endif return wxEntryReal(argc, argv); }