fixing build break

change AddItem to AddMenuItem


git-svn-id: svn://10.0.0.236/trunk@18781 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
saari%netscape.com
1999-01-27 17:00:11 +00:00
parent 34cb44acbc
commit cb3aa7d868
2 changed files with 2 additions and 2 deletions

View File

@@ -171,7 +171,7 @@ NS_METHOD nsMenuItem::Create(nsIMenu *aParent,
}
Create(widget, GetNativeParent(), aLabel, aCommand);
aParent->AddItem(this);
aParent->AddMenuItem(this);
return NS_OK;
}

View File

@@ -115,7 +115,7 @@ NS_METHOD nsMenuItem::Create(nsIMenu * aParent, const nsString &aLabel, PRUint32
{
mCommand = aCommand;
mLabel = aLabel;
aParent->AddItem(this);
aParent->AddMenuItem(this);
nsISupports * sups;
if (NS_OK == aParent->QueryInterface(kISupportsIID,(void**)&sups)) {