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:
@@ -1749,7 +1749,7 @@ static void wxYieldForCommandsOnly()
|
|||||||
MSG msg;
|
MSG msg;
|
||||||
while ( ::PeekMessage(&msg, (HWND)0, WM_COMMAND, WM_COMMAND, PM_REMOVE) )
|
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.
|
// if we retrieved a WM_QUIT, insert back into the message queue.
|
||||||
::PostQuitMessage(0);
|
::PostQuitMessage(0);
|
||||||
|
Reference in New Issue
Block a user