
discussed in the thread in haiku-development. I added a fSubmenus member to BMenu, to be able to tell from BMenuItem if there are other items with a submenu (maintained in BMenuItem::SetSuper()). If you don't like this solution, let's just revert. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21395 a95241bf-73f2-0310-859d-f6bbb57e9c96