don't use OpenDeskAcc under Carbon.

This commit is contained in:
pinkerton%netscape.com 1999-05-10 23:10:55 +00:00
parent 3e3ac72376
commit cee3247406

View File

@ -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;
}
}