modified for new DrawString()/GetWidth() APIs.

git-svn-id: svn://10.0.0.236/trunk@18902 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
michaelp%netscape.com
1999-01-28 05:03:58 +00:00
parent 8767c19e77
commit 2b18562cef
18 changed files with 51 additions and 53 deletions

View File

@@ -1169,7 +1169,7 @@ nsFormControlFrame::PaintRectangularButton(nsIPresContext& aPresContext,
y += onePixel;
}
aRenderingContext.DrawString(aLabel, x, y, 0);
aRenderingContext.DrawString(aLabel, x, y);
NS_RELEASE(context);
PRBool clipEmpty;
aRenderingContext.PopState(clipEmpty);