changed Invalidate calls to have a FLASE repaint flag

git-svn-id: svn://10.0.0.236/trunk@39695 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-07-16 14:24:51 +00:00
parent 4d34dc1aa4
commit b8fd1ccc0f
3 changed files with 4 additions and 4 deletions

View File

@@ -67,7 +67,7 @@ nsButtonFrameRenderer::Redraw()
mFrame->GetRect(rect);
rect.x = 0;
rect.y = 0;
mFrame->Invalidate(rect, PR_TRUE);
mFrame->Invalidate(rect, PR_FALSE);
}
void

View File

@@ -266,7 +266,7 @@ nsButtonControlFrame::AttributeChanged(nsIPresContext* aPresContext,
} else {
if (nsHTMLAtoms::value == aAttribute) {
// redraw button with the changed value
Invalidate(mRect, PR_TRUE);
Invalidate(mRect, PR_FALSE);
}
}
return result;
@@ -590,7 +590,7 @@ nsButtonControlFrame::SetFocus(PRBool aOn, PRBool aRepaint)
void
nsButtonControlFrame::Redraw()
{ nsRect rect(0, 0, mRect.width, mRect.height);
Invalidate(rect, PR_TRUE);
Invalidate(rect, PR_FALSE);
}

View File

@@ -67,7 +67,7 @@ nsButtonFrameRenderer::Redraw()
mFrame->GetRect(rect);
rect.x = 0;
rect.y = 0;
mFrame->Invalidate(rect, PR_TRUE);
mFrame->Invalidate(rect, PR_FALSE);
}
void