Commit 445c910e authored by Pascal Lessard's avatar Pascal Lessard Committed by Alexandre Julliard

Message removed when menu tracking finish on a WM_LBUTTONDOWN.

parent d05b7beb
......@@ -2234,7 +2234,7 @@ static BOOL MENU_ButtonDown( MTRACKER* pmt, HMENU hPtMenu )
return TRUE;
}
else WARN("\tunable to find clicked item!\n");
/* Else the click was on the menu bar, finish the tracking */
}
return FALSE;
}
......@@ -2633,7 +2633,7 @@ static INT MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y,
/* fall through */
case WM_LBUTTONDBLCLK:
case WM_LBUTTONDOWN:
fEndMenu |= !MENU_ButtonDown( &mt, hmenu );
fRemove = fEndMenu = !MENU_ButtonDown( &mt, hmenu );
break;
case WM_RBUTTONUP:
......
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