diff options
author | Angelo Castellani <udp.castellani@gmail.com> | 2011-05-21 15:06:36 -0400 |
---|---|---|
committer | Stefan Dombrowski <stefan@uni-bonn.de> | 2011-05-23 00:08:18 +0200 |
commit | c6a081ba610c5f5f298bc80c2ef28facb41dffae (patch) | |
tree | ee74a1e145d7caf4debcaf31e789cfcc566eddea /src/gui/widgets/listbox.h | |
parent | 144c8e85b20602a1f9dd341cc29b726adfac7690 (diff) | |
download | mana-c6a081ba610c5f5f298bc80c2ef28facb41dffae.tar.gz mana-c6a081ba610c5f5f298bc80c2ef28facb41dffae.tar.bz2 mana-c6a081ba610c5f5f298bc80c2ef28facb41dffae.tar.xz mana-c6a081ba610c5f5f298bc80c2ef28facb41dffae.zip |
Fixed listbox selection issue
Clicking below the last item of a listbox would select the last item.
Made it do nothing instead.
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r-- | src/gui/widgets/listbox.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h index 4984a3ce..61c564bb 100644 --- a/src/gui/widgets/listbox.h +++ b/src/gui/widgets/listbox.h @@ -66,6 +66,8 @@ class ListBox : public gcn::ListBox // Inherited from MouseListener + void mousePressed(gcn::MouseEvent& mouseEvent); + void mouseWheelMovedUp(gcn::MouseEvent& mouseEvent); void mouseWheelMovedDown(gcn::MouseEvent& mouseEvent); |