Whacked paint methods to use new constants

git-svn-id: svn://10.0.0.236/trunk@25154 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com
1999-03-26 00:39:35 +00:00
parent 1a8d633e4e
commit 9e4c4cb1e3
48 changed files with 74 additions and 72 deletions

View File

@@ -463,7 +463,7 @@ nsFileControlFrame::Paint(nsIPresContext& aPresContext,
mTextFrame->PaintTextControlBackground(aPresContext, aRenderingContext, aDirtyRect, aWhichLayer);
if (eFramePaintLayer_Content == aWhichLayer) {
if (NS_FRAME_PAINT_LAYER_FOREGROUND == aWhichLayer) {
nsString text;
if (NS_SUCCEEDED(nsFormControlHelper::GetInputElementValue(mContent, &text, PR_FALSE))) {
nsRect rect;