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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user