diff options
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(); } |