diff options
Diffstat (limited to 'src/guichan')
-rw-r--r-- | src/guichan/widgets/checkbox.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/guichan/widgets/checkbox.cpp b/src/guichan/widgets/checkbox.cpp index 58710409b..dcac59d17 100644 --- a/src/guichan/widgets/checkbox.cpp +++ b/src/guichan/widgets/checkbox.cpp @@ -123,10 +123,6 @@ namespace gcn void CheckBox::adjustSize() { - const int height = getFont()->getHeight(); - - setHeight(height); - setWidth(getFont()->getWidth(mCaption) + height + height / 2); } void CheckBox::toggleSelected() |