don't translate Win32 structured exceptions into C++ ones (requires always using a special wxEntry for MSW in init.cpp)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-02-11 22:31:23 +00:00
parent 4843cdfe0f
commit 226c11c076
2 changed files with 85 additions and 36 deletions

View File

@@ -369,10 +369,10 @@ void wxEntryCleanup()
// wxEntry
// ----------------------------------------------------------------------------
// for MSW with wxUSE_ON_FATAL_EXCEPTION on, wxEntry is defined in msw/main.cpp
#if !defined(__WXMSW__) || !wxUSE_ON_FATAL_EXCEPTION
// for MSW the real wxEntry is defined in msw/main.cpp
#ifndef __WXMSW__
#define wxEntryReal wxEntry
#endif // !(__WXMSW__ && wxUSE_ON_FATAL_EXCEPTION)
#endif // !__WXMSW__
int wxEntryReal(int& argc, wxChar **argv)
{