Commit 0e21f376 authored by Jose Alonso's avatar Jose Alonso Committed by Alexandre Julliard

Change the order of DispatchMessage and message removal.

parent c194b2e8
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment