From 5658a770c18b99807e4a598e7dc70ea3f765ba81 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 15 Oct 2012 17:39:57 +0300 Subject: Override some methods in guichan listbox. --- src/guichan/widgets/button.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/guichan/widgets/button.cpp') diff --git a/src/guichan/widgets/button.cpp b/src/guichan/widgets/button.cpp index 69affd4b7..585b30f13 100644 --- a/src/guichan/widgets/button.cpp +++ b/src/guichan/widgets/button.cpp @@ -132,8 +132,6 @@ namespace gcn void Button::adjustSize() { - setWidth(getFont()->getWidth(mCaption) + 2*mSpacing); - setHeight(getFont()->getHeight() + 2*mSpacing); } bool Button::isPressed() const -- cgit v1.2.3-70-g09d2