git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32091
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+#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
// 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
#else // !wxUSE_ON_FATAL_EXCEPTION
#else // !wxUSE_ON_FATAL_EXCEPTION
+#if defined(__VISUALC__) && !defined(__WXWINCE__)
static void
wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep))
static void
wxSETranslator(unsigned int WXUNUSED(code), EXCEPTION_POINTERS * WXUNUSED(ep))
int wxEntry(int& argc, wxChar **argv)
{
int wxEntry(int& argc, wxChar **argv)
{
DisableAutomaticSETranslator();
DisableAutomaticSETranslator();
return wxEntryReal(argc, argv);
}
return wxEntryReal(argc, argv);
}