From de71e4da6d8f701ea6db2e618f9d3df5488405e3 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Sat, 18 Feb 2006 09:13:22 +0000 Subject: [PATCH] _BMCItem_ isn't used anymore git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16457 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/Menu.cpp b/src/kits/interface/Menu.cpp index 4e7f6c8a20..19e8a0c79e 100644 --- a/src/kits/interface/Menu.cpp +++ b/src/kits/interface/Menu.cpp @@ -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)