Ungenerate destroyed menus in case we recreate the frames later b=279769 r+sr=bz

This commit is contained in:
neil%parkwaycc.co.uk 2005-03-26 09:56:38 +00:00
Родитель ec2ebcfc2a
Коммит fe497ff939
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -343,6 +343,7 @@ nsMenuFrame::Destroy(nsPresContext* aPresContext)
}
}
UngenerateMenu();
DestroyPopupFrames(aPresContext);
return nsBoxFrame::Destroy(aPresContext);
}