MenuItem::Archive uses BArchivable::Archive

inverted the enable state when initing the BMenu


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18071 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2006-07-08 12:56:18 +00:00
parent d4d2597fef
commit 9fcdf0e92c
3 changed files with 5 additions and 13 deletions
-5
View File
@@ -33,14 +33,9 @@ BSeparatorItem::~BSeparatorItem()
}
extern const char* B_CLASS_FIELD;
status_t
BSeparatorItem::Archive(BMessage* archive, bool deep) const
{
if (!archive->HasString(B_CLASS_FIELD))
archive->AddString(B_CLASS_FIELD, "BMenuItem");
return BMenuItem::Archive(archive, deep);
}