First of a few changes to allow frames to have multiple child lists.

FirstChild() now takes an additional argument which is the name of the
child list.
This commit is contained in:
troy@netscape.com
1998-11-09 19:40:27 +00:00
parent 5ae011654a
commit b04ee51233
31 changed files with 212 additions and 129 deletions
+1 -1
View File
@@ -371,7 +371,7 @@ PRBool
nsLabelFrame::FindFirstControl(nsIFrame* aParentFrame, nsIFormControlFrame*& aResultFrame)
{
nsIFrame* child = nsnull;
aParentFrame->FirstChild(child);
aParentFrame->FirstChild(nsnull, child);
while (nsnull != child) {
nsIFormControlFrame* fcFrame = nsnull;
nsresult result = child->QueryInterface(kIFormControlFrameIID, (void**)&fcFrame);