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:
@@ -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
|
void
|
||||||
BMenu::InvokeItem(BMenuItem *item, bool now)
|
BMenu::InvokeItem(BMenuItem *item, bool now)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user