X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cb2713bfa8fc9b8864eb2c0cebde8df2a7654444..66242f20794d33f61eb381fba6ca1fc6b9c1c929:/src/msw/app.cpp diff --git a/src/msw/app.cpp b/src/msw/app.cpp index 36dedf8627..3424745eaf 100644 --- a/src/msw/app.cpp +++ b/src/msw/app.cpp @@ -1289,11 +1289,11 @@ bool wxYield() // normally result in message boxes popping up &c wxLog::Suspend(); -#ifdef __WXDEBUG__ +#ifdef __WXDEBUG__ if (gs_inYield) wxFAIL_MSG( wxT("wxYield called recursively" ) ); #endif - + gs_inYield = TRUE; // we don't want to process WM_QUIT from here - it should be processed in @@ -1327,7 +1327,7 @@ bool wxYieldIfNeeded() { if (gs_inYield) return FALSE; - + return wxYield(); } @@ -1340,7 +1340,8 @@ bool wxHandleFatalExceptions(bool doit) return TRUE; #else wxFAIL_MSG(_T("set wxUSE_ON_FATAL_EXCEPTION to 1 to sue this function")); - + + (void)doit; return FALSE; #endif }