CheckSelectSomething();
nsHTMLSelectElement::DoneAddingContent(PRBool aIsDone){  mIsDoneAddingContent = aIsDone;  nsIFormControlFrame* fcFrame = nsnull;  nsresult result = GetPrimaryFrame(this, fcFrame, PR_FALSE);  if (NS_SUCCEEDED(result) && fcFrame) {    nsISelectControlFrame* selectFrame = nsnull;    result = fcFrame->QueryInterface(NS_GET_IID(nsISelectControlFrame),                                     (void **)&selectFrame);    if (NS_SUCCEEDED(result) && selectFrame) {      result = selectFrame->DoneAddingContent(mIsDoneAddingContent);    }  }  return NS_OK;}