Check if alt is the command key on BMenu::AttachedToWindow instead of doing it for every BMenuItem::Draw()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16847 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -257,7 +257,7 @@ virtual void _ReservedMenu6();
|
||||
BMessage *r, bool menu) const;
|
||||
|
||||
static menu_info sMenuInfo;
|
||||
static bool sSwapped;
|
||||
static bool sAltAsCommandKey;
|
||||
|
||||
BMenuItem *fChosenItem;
|
||||
BList fItems;
|
||||
|
||||
Reference in New Issue
Block a user