rem: menu->AddItem(item = new MenuItem("Return to main manu"));
add: item->SetType(MENU_ITEM_NO_CHOICE); menu->AddItem(item = new MenuItem("Return to main menu")); item->SetType(MENU_ITEM_NO_CHOICE);
context: add_boot_volume_menu(Directory *bootVolume){	Menu *menu = new Menu(CHOICE_MENU, "Select Boot Volume");	MenuItem *item;	void *cookie;	if (gRoot->Open(&cookie, O_RDONLY) == B_OK) {		Directory *volume;		while (gRoot->GetNextNode(cookie, (Node **)&volume) == B_OK) {			// only list bootable volumes			if (!is_bootable(volume))				continue;			char name[B_FILE_NAME_LENGTH];			if (volume->GetName(name, sizeof(name)) == B_OK) {				menu->AddItem(item = new MenuItem(name));				if (volume == bootVolume) {					item->SetMarked(true);					item->Select(true);				}			}		}		gRoot->Close(cookie);	}	menu->AddSeparatorItem();	menu->AddItem(item = new MenuItem("Rescan volumes"));	menu->AddItem(item = new MenuItem("Return to main manu"));	return menu;}