mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 19:10:36 +00:00
Fixed the menu compile error
This commit is contained in:
parent
ecb3553a2a
commit
efc344517b
@ -368,7 +368,7 @@ HandleBrowserEvent(nsGUIEvent *aEvent)
|
|||||||
return result;
|
return result;
|
||||||
|
|
||||||
case NS_MENU_SELECTED:
|
case NS_MENU_SELECTED:
|
||||||
result = bw->DispatchMenuItem(((nsMenuEvent*)aEvent)->menuItem);
|
result = bw->DispatchMenuItem(((nsMenuEvent*)aEvent)->mCommand);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// XXX This is a hack, but a needed one
|
// XXX This is a hack, but a needed one
|
||||||
|
Loading…
x
Reference in New Issue
Block a user