X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bbd80984989cfededfc805b941b2cacf5424302..ace8d849d4e972e451b2a2ebbe697efb735f018f:/src/os2/app.cpp diff --git a/src/os2/app.cpp b/src/os2/app.cpp index 49d5217b64..f896e02201 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -35,6 +35,7 @@ #include "wx/stdpaths.h" #include "wx/filename.h" +#include "wx/evtloop.h" #include "wx/os2/private.h" @@ -535,6 +536,7 @@ bool wxApp::Yield(bool onlyIfNeeded) // We want to go back to the main message loop // if we see a WM_QUIT. (?) // + wxEventLoopGuarantor dummyLoopIfNeeded; while (::WinPeekMsg(vHab, &vMsg, (HWND)NULL, 0, 0, PM_NOREMOVE) && vMsg.msg != WM_QUIT) { #if wxUSE_THREADS