Remove the WM_LBUTTONUP message from the queue after selecting a mouse

menu item.
This commit is contained in:
Noomen Hamza 1999-06-26 10:14:27 +00:00 committed by Alexandre Julliard
parent ebe29ef376
commit 46c4d39853
1 changed files with 1 additions and 1 deletions

View File

@ -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 */ /* End the loop if executedMenuId is an item ID */
/* or if the job was done (executedMenuId = 1). */ /* or if the job was done (executedMenuId = 1). */
fEndMenu = (executedMenuId != 0); fEndMenu = fRemove = (executedMenuId != 0);
} }
/* No menu was selected by the mouse */ /* No menu was selected by the mouse */
/* if the function was called by TrackPopupMenu, continue /* if the function was called by TrackPopupMenu, continue