mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
enable menus on mac
This commit is contained in:
parent
ab5f5b57b5
commit
e1d95977e4
@ -894,8 +894,8 @@ NS_IMETHODIMP nsWindow::DispatchEvent(nsGUIEvent* event, nsEventStatus& aStatus)
|
||||
aStatus = nsEventStatus_eIgnore;
|
||||
|
||||
if (nsnull != mMenuListener){
|
||||
//if(NS_MENU_EVENT == event->eventStructType)
|
||||
//aStatus = mMenuListener->MenuSelected( static_cast<nsMenuEvent&>(*event) );
|
||||
if(NS_MENU_EVENT == event->eventStructType)
|
||||
aStatus = mMenuListener->MenuSelected( static_cast<nsMenuEvent&>(*event) );
|
||||
}
|
||||
if (mEventCallback)
|
||||
aStatus = (*mEventCallback)(event);
|
||||
|
Loading…
Reference in New Issue
Block a user