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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user