implemented <LABEL>; document maintains list of forms as created; form element properly releases form controls.
git-svn-id: svn://10.0.0.236/trunk@13346 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -339,6 +339,15 @@ nsFormControlFrame::PostCreateWidget(nsIPresContext* aPresContext, nscoord& aWid
|
||||
{
|
||||
}
|
||||
|
||||
// native widgets don't unset focus explicitly and don't need to repaint
|
||||
void
|
||||
nsFormControlFrame::SetFocus(PRBool aOn, PRBool aRepaint)
|
||||
{
|
||||
if (mWidget && aOn) {
|
||||
mWidget->SetFocus();
|
||||
}
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsFormControlFrame::GetWidget(nsIWidget** aWidget)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user