setting flush flag to false, so it doesn't flush everytime an item is added

r=vidur b=27498
This commit is contained in:
rods%netscape.com 2000-02-15 22:45:26 +00:00
Родитель f6c4dde0ed
Коммит 4264c3730d
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -738,7 +738,7 @@ nsHTMLSelectElement::AddOption(nsIContent* aContent)
// Update the widget
nsIFormControlFrame* fcFrame = nsnull;
nsresult result = nsGenericHTMLElement::GetPrimaryFrame(this, fcFrame);
nsresult result = nsGenericHTMLElement::GetPrimaryFrame(this, fcFrame, PR_FALSE);
if (NS_SUCCEEDED(result) && (nsnull != fcFrame)) {
nsISelectControlFrame* selectFrame = nsnull;
result = fcFrame->QueryInterface(NS_GET_IID(nsISelectControlFrame),(void **) &selectFrame);

Просмотреть файл

@ -738,7 +738,7 @@ nsHTMLSelectElement::AddOption(nsIContent* aContent)
// Update the widget
nsIFormControlFrame* fcFrame = nsnull;
nsresult result = nsGenericHTMLElement::GetPrimaryFrame(this, fcFrame);
nsresult result = nsGenericHTMLElement::GetPrimaryFrame(this, fcFrame, PR_FALSE);
if (NS_SUCCEEDED(result) && (nsnull != fcFrame)) {
nsISelectControlFrame* selectFrame = nsnull;
result = fcFrame->QueryInterface(NS_GET_IID(nsISelectControlFrame),(void **) &selectFrame);