_BMCItem_ isn't used anymore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16457 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
616969aa88
commit
de71e4da6d
@ -1466,7 +1466,7 @@ BMenu::CalcFrame(BPoint where, bool *scrollOn)
|
||||
// When added to a BMenuField, a BPopUpMenu is the child of
|
||||
// a _BMCItem_ inside a _BMCMenuBar_ to "fake" the menu hierarchy
|
||||
if (superMenu == NULL || superItem == NULL
|
||||
|| dynamic_cast<_BMCItem_ *>(superItem) != NULL) {
|
||||
|| dynamic_cast<_BMCMenuBar_ *>(superMenu) != NULL) {
|
||||
// just move the window on screen
|
||||
|
||||
if (frame.bottom > screenFrame.bottom)
|
||||
|
Loading…
x
Reference in New Issue
Block a user