X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe277be0f1504fefcb24705dea52006d14fdebc8..079cc3b670fb1f68f56c71078afd9af765b43512:/src/common/init.cpp diff --git a/src/common/init.cpp b/src/common/init.cpp index 15cca2da32..a67f723b64 100644 --- a/src/common/init.cpp +++ b/src/common/init.cpp @@ -396,6 +396,7 @@ int wxEntryReal(int& argc, wxChar **argv) wxTRY { + // app initialization if ( !wxTheApp->CallOnInit() ) { @@ -410,6 +411,8 @@ int wxEntryReal(int& argc, wxChar **argv) ~CallOnExit() { wxTheApp->OnExit(); } } callOnExit; + WX_SUPPRESS_UNUSED_WARN(callOnExit); + // app execution return wxTheApp->OnRun(); }