Added another test case to the menu trigger test that could reproduce the last
problem of BMenuItem::SetTrigger() that got fixed in r22476 (see bug #1506 for the details). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22477 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f1be468272
commit
b21fc3c730
@ -52,6 +52,11 @@ Window::Window()
|
|||||||
menu->AddItem(new BMenuItem("3 aöa", NULL));
|
menu->AddItem(new BMenuItem("3 aöa", NULL));
|
||||||
bar->AddItem(menu);
|
bar->AddItem(menu);
|
||||||
|
|
||||||
|
menu = new BMenu("Extra");
|
||||||
|
BMenuItem* item = new BMenuItem("\xe3\x81\x82 haiku", NULL);
|
||||||
|
item->SetTrigger('h');
|
||||||
|
menu->AddItem(item);
|
||||||
|
bar->AddItem(menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
Window::~Window()
|
Window::~Window()
|
||||||
|
Loading…
Reference in New Issue
Block a user