_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:
Stefano Ceccherini 2006-02-18 09:13:22 +00:00
parent 616969aa88
commit de71e4da6d

View File

@ -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)