Change the order of DispatchMessage and message removal.
This commit is contained in:
parent
c194b2e853
commit
0e21f376da
dlls/user
|
@ -2866,7 +2866,9 @@ static BOOL MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
|
|||
}
|
||||
else
|
||||
{
|
||||
PeekMessageW( &msg, 0, msg.message, msg.message, PM_REMOVE );
|
||||
DispatchMessageW( &msg );
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!fEndMenu) fRemove = TRUE;
|
||||
|
|
Loading…
Reference in New Issue