Message removed when menu tracking finish on a WM_LBUTTONDOWN.
diff --git a/controls/menu.c b/controls/menu.c
index 0a197f1..a888b51 100644
--- a/controls/menu.c
+++ b/controls/menu.c
@@ -2234,7 +2234,7 @@
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 @@
/* fall through */
case WM_LBUTTONDBLCLK:
case WM_LBUTTONDOWN:
- fEndMenu |= !MENU_ButtonDown( &mt, hmenu );
+ fRemove = fEndMenu = !MENU_ButtonDown( &mt, hmenu );
break;
case WM_RBUTTONUP: