From 77013f79fa7b0a7a3bf48ba5eeb5f66cf0da5d2b Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Fri, 16 Jul 1999 14:24:51 +0000 Subject: [PATCH] changed Invalidate calls to have a FLASE repaint flag --- layout/forms/nsButtonFrameRenderer.cpp | 2 +- layout/html/forms/src/nsButtonControlFrame.cpp | 4 ++-- layout/html/forms/src/nsButtonFrameRenderer.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layout/forms/nsButtonFrameRenderer.cpp b/layout/forms/nsButtonFrameRenderer.cpp index 8138bd5216d..a4c32d0fa9b 100644 --- a/layout/forms/nsButtonFrameRenderer.cpp +++ b/layout/forms/nsButtonFrameRenderer.cpp @@ -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 diff --git a/layout/html/forms/src/nsButtonControlFrame.cpp b/layout/html/forms/src/nsButtonControlFrame.cpp index c5838e20f0a..e2f703947f5 100644 --- a/layout/html/forms/src/nsButtonControlFrame.cpp +++ b/layout/html/forms/src/nsButtonControlFrame.cpp @@ -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); } diff --git a/layout/html/forms/src/nsButtonFrameRenderer.cpp b/layout/html/forms/src/nsButtonFrameRenderer.cpp index 8138bd5216d..a4c32d0fa9b 100644 --- a/layout/html/forms/src/nsButtonFrameRenderer.cpp +++ b/layout/html/forms/src/nsButtonFrameRenderer.cpp @@ -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