Chianti, Pinot noir, WINE..

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-06-08 20:56:50 +00:00
parent af0bb3b161
commit c455ab932f
12 changed files with 147 additions and 12 deletions

View File

@@ -1117,7 +1117,11 @@ bool wxYield()
MSG msg;
// We want to go back to the main message loop
// if we see a WM_QUIT. (?)
#ifdef __WXWINE__
while (PeekMessage(&msg, (HWND)NULL, 0, 0, PM_NOREMOVE) && msg.message != WM_QUIT)
#else
while (PeekMessage(&msg, NULL, 0, 0, PM_NOREMOVE) && msg.message != WM_QUIT)
#endif
{
if ( !wxTheApp->DoMessage() )
break;