diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-30 22:03:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-30 22:03:32 +0300 |
commit | 1d0044cbc81e547ad688a295288910d58e1a3fb1 (patch) | |
tree | 0a4575b8ff5f76b571891ea0f30df02fe61f4f29 /src/guichan/widgets/dropdown.cpp | |
parent | b82ee801506790283d2f03060949bb5089086de8 (diff) | |
download | manaplus-1d0044cbc81e547ad688a295288910d58e1a3fb1.tar.gz manaplus-1d0044cbc81e547ad688a295288910d58e1a3fb1.tar.bz2 manaplus-1d0044cbc81e547ad688a295288910d58e1a3fb1.tar.xz manaplus-1d0044cbc81e547ad688a295288910d58e1a3fb1.zip |
Fix compilation warnings after guichan integration.
Remove temp file.
Diffstat (limited to 'src/guichan/widgets/dropdown.cpp')
-rw-r--r-- | src/guichan/widgets/dropdown.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/guichan/widgets/dropdown.cpp b/src/guichan/widgets/dropdown.cpp index ad0a14cf5..13feaa1f7 100644 --- a/src/guichan/widgets/dropdown.cpp +++ b/src/guichan/widgets/dropdown.cpp @@ -475,7 +475,7 @@ namespace gcn } } - void DropDown::focusLost(const Event& event) + void DropDown::focusLost(const Event& event _UNUSED_) { foldUp(); mInternalFocusHandler.focusNone(); @@ -492,7 +492,7 @@ namespace gcn BasicContainer::death(event); } - void DropDown::action(const ActionEvent& actionEvent) + void DropDown::action(const ActionEvent& actionEvent _UNUSED_) { foldUp(); releaseModalMouseInputFocus(); @@ -599,14 +599,14 @@ namespace gcn void DropDown::setSelectionColor(const Color& color) { Widget::setSelectionColor(color); - + if (mInternalListBox) { mListBox->setSelectionColor(color); - } + } } - void DropDown::valueChanged(const SelectionEvent& event) + void DropDown::valueChanged(const SelectionEvent& event _UNUSED_) { distributeValueChangedEvent(); } |