X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58c5fe3befc685d766f7e63e0e764432bea3e1a3..a98ce49a41630c2eabb266fe1597d4e279545023:/src/common/init.cpp?ds=sidebyside diff --git a/src/common/init.cpp b/src/common/init.cpp index c0ce4e9bcb..a225bf6833 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -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) {