Double sorry...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23284 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
598ea11c81
commit
20817b7706
@ -1924,6 +1924,19 @@ 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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user