diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-15 17:39:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-15 17:39:57 +0300 |
commit | 5658a770c18b99807e4a598e7dc70ea3f765ba81 (patch) | |
tree | f61a418fa237f82004a99a03b85a2e80ab01bd8f /src/guichan/widgets/listbox.cpp | |
parent | b2b348d4baf2891fd82635e068a4f64d2694ba6d (diff) | |
download | manaplus-5658a770c18b99807e4a598e7dc70ea3f765ba81.tar.gz manaplus-5658a770c18b99807e4a598e7dc70ea3f765ba81.tar.bz2 manaplus-5658a770c18b99807e4a598e7dc70ea3f765ba81.tar.xz manaplus-5658a770c18b99807e4a598e7dc70ea3f765ba81.zip |
Override some methods in guichan listbox.
Diffstat (limited to 'src/guichan/widgets/listbox.cpp')
-rw-r--r-- | src/guichan/widgets/listbox.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/guichan/widgets/listbox.cpp b/src/guichan/widgets/listbox.cpp index 66ddf8315..35978f648 100644 --- a/src/guichan/widgets/listbox.cpp +++ b/src/guichan/widgets/listbox.cpp @@ -96,7 +96,6 @@ namespace gcn void ListBox::logic() { - adjustSize(); } int ListBox::getSelected() const @@ -186,8 +185,6 @@ namespace gcn void ListBox::adjustSize() { - if (mListModel) - setHeight(getRowHeight() * mListModel->getNumberOfElements()); } bool ListBox::isWrappingEnabled() const |