From 4352c7a9d0acbe9f805c7fa70f4ea518a3e54424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Bj=C3=B6rklund?= Date: Sun, 19 Sep 1999 18:28:35 +0000 Subject: [PATCH] Send correct WM_MENUSELECT when menu closes. --- controls/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/menu.c b/controls/menu.c index 412fa5233d6..0a197f17660 100644 --- a/controls/menu.c +++ b/controls/menu.c @@ -2781,7 +2781,7 @@ static INT MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y, uSubPWndLevel = 0; } MENU_SelectItem( mt.hOwnerWnd, mt.hTopMenu, NO_SELECTED_ITEM, FALSE ); - SendMessageA( mt.hOwnerWnd, WM_MENUSELECT, MAKELONG(0,0), 0xffff ); + SendMessageA( mt.hOwnerWnd, WM_MENUSELECT, MAKELONG(0,0xffff), 0 ); } /* Reset the variable for hiding menu */