X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b059b79da758fae4c25bd54c85f67a4a0d80f12b..c12a74b0d825dcb685e48fdc15e9c5d53eb5932b:/src/msw/main.cpp diff --git a/src/msw/main.cpp b/src/msw/main.cpp index 89c330a35d..900ef4fdef 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -69,7 +69,7 @@ // wrap real wxEntry in a try-except block to be able to call // OnFatalException() if necessary -#if wxUSE_ON_FATAL_EXCEPTION +#if wxUSE_ON_FATAL_EXCEPTION && wxUSE_BASE // global pointer to exception information, only valid inside OnFatalException, // used by wxStackWalker and wxCrashReport @@ -191,7 +191,7 @@ int wxEntry(int& argc, wxChar **argv) } } -#endif // wxUSE_ON_FATAL_EXCEPTION +#endif // wxUSE_ON_FATAL_EXCEPTION && wxUSE_BASE #if wxUSE_GUI