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:
parent
3e06c4fae2
commit
598ea11c81
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user