Commit 46c4d398 authored by Noomen Hamza's avatar Noomen Hamza Committed by Alexandre Julliard

Remove the WM_LBUTTONUP message from the queue after selecting a mouse

menu item.
parent ebe29ef3
......@@ -2651,7 +2651,7 @@ static INT MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
/* End the loop if executedMenuId is an item ID */
/* or if the job was done (executedMenuId = 1). */
fEndMenu = (executedMenuId != 0);
fEndMenu = fRemove = (executedMenuId != 0);
}
/* No menu was selected by the mouse */
/* if the function was called by TrackPopupMenu, continue
......
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