win: Force menuWillShow to be called when setting window menu.
This commit is contained in:
parent
0e5f697b48
commit
6ee437e9bf
2 changed files with 11 additions and 7 deletions
|
@ -230,7 +230,7 @@ void Menu::BuildPrototype(v8::Isolate* isolate,
|
|||
.SetMethod("isEnabledAt", &Menu::IsEnabledAt)
|
||||
.SetMethod("isVisibleAt", &Menu::IsVisibleAt)
|
||||
#if defined(OS_WIN) || defined(TOOLKIT_GTK)
|
||||
.SetMethod("attachToWindow", &Menu::AttachToWindow)
|
||||
.SetMethod("_attachToWindow", &Menu::AttachToWindow)
|
||||
#endif
|
||||
.SetMethod("_popup", &Menu::Popup);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue