Shortcut characters are aligned even if there's a submenu, like

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
This commit is contained in:
Stefano Ceccherini
2007-06-12 12:28:06 +00:00
parent fbe2f227ca
commit 37ddfd14ab
3 changed files with 24 additions and 11 deletions
+3 -1
View File
@@ -292,7 +292,9 @@ static bool sAltAsCommandKey;
BPoint *fInitMatrixSize;
_ExtraMenuData_ *fExtraMenuData;
uint32 _reserved[2];
uint32 _reserved[1];
int32 fSubmenus;
char fTrigger;
bool fResizeToFit;