Renamed Init() to SetInitialChildList() and added an additional parameter

for the name of the child list
This commit is contained in:
troy@netscape.com
1998-11-10 06:05:32 +00:00
parent 72851b4608
commit 7d57a590c9
73 changed files with 404 additions and 237 deletions

View File

@@ -87,7 +87,9 @@ nsLegendFrame::QueryInterface(REFNSIID aIID, void** aInstancePtrResult)
}
NS_IMETHODIMP
nsLegendFrame::Init(nsIPresContext& aPresContext, nsIFrame* aChildList)
nsLegendFrame::SetInitialChildList(nsIPresContext& aPresContext,
nsIAtom* aListName,
nsIFrame* aChildList)
{
// cache our display type
const nsStyleDisplay* styleDisplay;
@@ -110,7 +112,7 @@ nsLegendFrame::Init(nsIPresContext& aPresContext, nsIFrame* aChildList)
}
// Queue up the frames for the inline frame
return mFirstChild->Init(aPresContext, aChildList);
return mFirstChild->SetInitialChildList(aPresContext, nsnull, aChildList);
}
NS_IMETHODIMP