From 46c4d39853694f72bb66be4e9d21c85934f4362b Mon Sep 17 00:00:00 2001 From: Noomen Hamza Date: Sat, 26 Jun 1999 10:14:27 +0000 Subject: [PATCH] Remove the WM_LBUTTONUP message from the queue after selecting a mouse menu item. --- controls/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/menu.c b/controls/menu.c index 85d9513659b..e9ac2d978f9 100644 --- a/controls/menu.c +++ b/controls/menu.c @@ -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 -- 2.11.4.GIT