fixed fatal typo in wxYieldForCommandsOnly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
afbdbdb491
commit
dd7ebf8b75
@ -1749,7 +1749,7 @@ static void wxYieldForCommandsOnly()
|
||||
MSG msg;
|
||||
while ( ::PeekMessage(&msg, (HWND)0, WM_COMMAND, WM_COMMAND, PM_REMOVE) )
|
||||
{
|
||||
if ( msg.message != WM_QUIT )
|
||||
if ( msg.message == WM_QUIT )
|
||||
{
|
||||
// if we retrieved a WM_QUIT, insert back into the message queue.
|
||||
::PostQuitMessage(0);
|
||||
|
Loading…
Reference in New Issue
Block a user