]> git.saurik.com Git - wxWidgets.git/commitdiff
WinCE doesn't have _set_se_translator
authorJulian Smart <julian@anthemion.co.uk>
Wed, 16 Feb 2005 00:08:28 +0000 (00:08 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 16 Feb 2005 00:08:28 +0000 (00:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/main.cpp

index 15741e3ed70ff1c403e17490705d1c8b1f1ba40d..7ee7a28fe7ed7068d9de5379aef332fbea6949fd 100644 (file)
@@ -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);
 }