get rid of the now useless trackTime parameter

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19828 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2007-01-16 15:22:31 +00:00
parent ebd1a3a130
commit 68fb266820
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -1065,7 +1065,7 @@ BMenu::Track(bool sticky, BRect *clickToOpenRect)
}
int action;
BMenuItem *menuItem = _track(&action, 0);
BMenuItem *menuItem = _track(&action);
SetStickyMode(false);
fExtraRect = NULL;
@@ -1244,7 +1244,7 @@ const bigtime_t kHysteresis = 200000; // TODO: Test and reduce if needed.
BMenuItem *
BMenu::_track(int *action, bigtime_t trackTime, long start)
BMenu::_track(int *action, long start)
{
// TODO: cleanup
BMenuItem *item = NULL;
@@ -1288,7 +1288,7 @@ BMenu::_track(int *action, bigtime_t trackTime, long start)
bool wasSticky = IsStickyMode();
if (wasSticky)
submenu->SetStickyMode(true);
BMenuItem *submenuItem = submenu->_track(&submenuAction, trackTime);
BMenuItem *submenuItem = submenu->_track(&submenuAction);
// check if the user started holding down a mouse button in a submenu
if (wasSticky && !IsStickyMode()) {