WinCE doesn't have _set_se_translator

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2005-02-16 00:08:28 +00:00
parent 024e9a4cea
commit b734b2cafa

View File

@ -70,7 +70,7 @@ extern int wxEntryReal(int& argc, wxChar **argv);
#if wxUSE_BASE #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 // 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 // a "catch ( ... )" will *always* catch SEH exceptions in it even though
// it should have never been the case... to prevent such catches from // 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 #else // !wxUSE_ON_FATAL_EXCEPTION
#ifdef __VISUALC__ #if defined(__VISUALC__) && !defined(__WXWINCE__)
static void static void
wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep)) 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) int wxEntry(int& argc, wxChar **argv)
{ {
#ifndef __WXWINCE__
DisableAutomaticSETranslator(); DisableAutomaticSETranslator();
#endif
return wxEntryReal(argc, argv); return wxEntryReal(argc, argv);
} }