mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
don't use OpenDeskAcc under Carbon.
This commit is contained in:
parent
3e3ac72376
commit
cee3247406
@ -408,7 +408,9 @@ nsEventStatus nsMenu::MenuSelected(const nsMenuEvent & aMenuEvent)
|
||||
{
|
||||
Str255 itemStr;
|
||||
::GetMenuItemText(GetMenuHandle(menuID), menuItemID, itemStr);
|
||||
#if !TARGET_CARBON
|
||||
::OpenDeskAcc(itemStr);
|
||||
#endif
|
||||
eventStatus = nsEventStatus_eConsumeNoDefault;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user