From d9a77eb8ac5d507665cbf8b20f5d8187148ebfd1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 14 Dec 2013 16:59:21 +0300 Subject: Improve a bit separate images drawing. --- src/gui/widgets/checkbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/checkbox.cpp') diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index e21e50c53..c8710c573 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -165,7 +165,7 @@ void CheckBox::drawBox(gcn::Graphics *const graphics) if (box) { - static_cast(graphics)->drawImage( + DRAW_IMAGE(static_cast(graphics), box, mImagePadding, (getHeight() - mImageSize) / 2); } } -- cgit v1.2.3-60-g2f50