fixed bug 958, checkboxes wrong background when not checked, select always multiple, text & texarea not reset. html 4 button work in progress.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
// YY need to pass isMultiple before create called
|
||||
|
||||
#include "nsFormControlFrame.h"
|
||||
#include "nsFormFrame.h"
|
||||
#include "nsIDOMNode.h"
|
||||
#include "nsIDOMHTMLSelectElement.h"
|
||||
#include "nsIDOMHTMLOptionElement.h"
|
||||
@@ -353,6 +354,7 @@ nsSelectControlFrame::PostCreateWidget(nsIPresContext* aPresContext)
|
||||
return;
|
||||
}
|
||||
|
||||
mWidget->Enable(!nsFormFrame::GetDisabled(this));
|
||||
nsFont font(aPresContext->GetDefaultFixedFont());
|
||||
GetFont(aPresContext, font);
|
||||
mWidget->SetFont(font);
|
||||
|
||||
Reference in New Issue
Block a user