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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user