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

This commit is contained in:
michaelp@netscape.com
1999-01-28 05:03:58 +00:00
parent 24ed82cf46
commit bd06216ab8
18 changed files with 51 additions and 53 deletions
@@ -780,7 +780,7 @@ nsFormControlHelper::PaintRectangularButton(nsIPresContext& aPresContext,
y += onePixel;
}
aRenderingContext.DrawString(aLabel, x, y, 0);
aRenderingContext.DrawString(aLabel, x, y);
NS_RELEASE(context);
PRBool clipEmpty;
aRenderingContext.PopState(clipEmpty);
@@ -1301,7 +1301,7 @@ nsFormControlHelper::PaintRectangularButton(nsIPresContext& aPresContext,
y += onePixel;
}
aRenderingContext.DrawString(aLabel, x, y, 0);
aRenderingContext.DrawString(aLabel, x, y);
NS_RELEASE(context);
PRBool clipEmpty;
aRenderingContext.PopState(clipEmpty);