fieldset, legend support. fixed bug #987
git-svn-id: svn://10.0.0.236/trunk@12266 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -282,7 +282,7 @@ nsTextControlFrame::PostCreateWidget(nsIPresContext* aPresContext)
|
||||
nsFont font(aPresContext->GetDefaultFixedFont());
|
||||
GetFont(aPresContext, font);
|
||||
mWidget->SetFont(font);
|
||||
SetColors();
|
||||
SetColors(*aPresContext);
|
||||
|
||||
PRUint32 ignore;
|
||||
|
||||
@@ -301,7 +301,6 @@ nsTextControlFrame::PostCreateWidget(nsIPresContext* aPresContext)
|
||||
NS_RELEASE(text);
|
||||
} else if (NS_OK == mWidget->QueryInterface(kITextAreaWidgetIID,(void**)&textArea)) {
|
||||
textArea->SetText(value, ignore);
|
||||
mWidget->SetBackgroundColor(NS_RGB(0xFF, 0xFF, 0xFF));
|
||||
NS_RELEASE(textArea);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user