diff options
Diffstat (limited to 'views/examples/menu_example.h')
-rw-r--r-- | views/examples/menu_example.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/examples/menu_example.h b/views/examples/menu_example.h index 07d27d1..d43acde 100644 --- a/views/examples/menu_example.h +++ b/views/examples/menu_example.h @@ -57,7 +57,7 @@ class ExampleMenuContents : public menus::SimpleMenuModel, submenu_.reset(new menus::SimpleMenuModel(this)); submenu_->AddItem(kCommandDoSomething, WideToUTF16(L"Do Something 2")); - AddSubMenu(ASCIIToUTF16("Submenu"), submenu_.get()); + AddSubMenu(-1, ASCIIToUTF16("Submenu"), submenu_.get()); menu_.reset(new views::Menu2(this)); } |