diff --git a/controls/menu.c b/controls/menu.c index 93889bf0ea2..659b15b676e 100644 --- a/controls/menu.c +++ b/controls/menu.c @@ -2675,13 +2675,10 @@ static BOOL MENU_TrackMenu( HMENU hmenu, UINT wFlags, INT x, INT y, break; case WM_MOUSEMOVE: - /* In win95 winelook, the selected menu item must be changed every time the - mouse moves. In Win31 winelook, the mouse button has to be held down */ - - if ( hmenu && - ( (msg.wParam & MK_LBUTTON) || - ((wFlags & TPM_RIGHTBUTTON) && (msg.wParam & MK_RBUTTON))) ) + /* the selected menu item must be changed every time */ + /* the mouse moves. */ + if (hmenu) fEndMenu |= !MENU_MouseMove( &mt, hmenu, wFlags ); } /* switch(msg.message) - mouse */