summaryrefslogtreecommitdiff
path: root/src/gui/widgets/dropdown.h
diff options
context:
space:
mode:
authorTametomo <irarice@gmail.com>2009-06-24 18:15:48 -0600
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-14 21:40:49 +0100
commit6a40d67e756b5cbc849ee390720a67d0c5ead1dd (patch)
tree74ca0c9995d39da5e1135fb13facb2da5190588a /src/gui/widgets/dropdown.h
parentc8ac922256709e51674a67195f9bdc270f9fc261 (diff)
downloadmana-client-6a40d67e756b5cbc849ee390720a67d0c5ead1dd.tar.gz
mana-client-6a40d67e756b5cbc849ee390720a67d0c5ead1dd.tar.bz2
mana-client-6a40d67e756b5cbc849ee390720a67d0c5ead1dd.tar.xz
mana-client-6a40d67e756b5cbc849ee390720a67d0c5ead1dd.zip
Fixed DropDowns not collapsing when an item was clicked on, or enter or
space was pressed. Signed-off-by: Tametomo <irarice@gmail.com>
Diffstat (limited to 'src/gui/widgets/dropdown.h')
-rw-r--r--src/gui/widgets/dropdown.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h
index 15c52767..9bbf4f1d 100644
--- a/src/gui/widgets/dropdown.h
+++ b/src/gui/widgets/dropdown.h
@@ -68,6 +68,8 @@ class DropDown : public gcn::DropDown
// Inherited from MouseListener
+ void mousePressed(gcn::MouseEvent& mouseEvent);
+
void mouseWheelMovedUp(gcn::MouseEvent& mouseEvent);
void mouseWheelMovedDown(gcn::MouseEvent& mouseEvent);