Sorry, this wasn't meant to be here.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23283 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2008-01-07 22:42:28 +00:00
parent 3e06c4fae2
commit 598ea11c81

View File

@ -1924,19 +1924,6 @@ BMenu::_DrawItems(BRect updateRect)
}
int
BMenu::State(BMenuItem **item) const
{
if (fState == MENU_STATE_TRACKING || fState == MENU_STATE_CLOSED)
return fState;
if (fSelected != NULL && fSelected->Submenu() != NULL)
return fSelected->Submenu()->State(item);
return fState;
}
void
BMenu::InvokeItem(BMenuItem *item, bool now)
{