diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-26 08:24:01 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-26 08:24:01 -0700 |
commit | 0ffbbaa33f633bccf3b2a49713eb1cb117ff8a5a (patch) | |
tree | 51cec1c070c97b7d03120254710da1577daf5f92 /src/gui/listbox.h | |
parent | 0dde31c3db09113639fa443142995b6efcff6646 (diff) | |
download | mana-0ffbbaa33f633bccf3b2a49713eb1cb117ff8a5a.tar.gz mana-0ffbbaa33f633bccf3b2a49713eb1cb117ff8a5a.tar.bz2 mana-0ffbbaa33f633bccf3b2a49713eb1cb117ff8a5a.tar.xz mana-0ffbbaa33f633bccf3b2a49713eb1cb117ff8a5a.zip |
Fixed an error in shoplistboxes as identified by Octalot.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/listbox.h')
-rw-r--r-- | src/gui/listbox.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/listbox.h b/src/gui/listbox.h index a6392a94..09f00cdf 100644 --- a/src/gui/listbox.h +++ b/src/gui/listbox.h @@ -47,17 +47,17 @@ class ListBox : public gcn::ListBox */ void draw(gcn::Graphics *graphics); - void mouseDragged(gcn::MouseEvent &event); - // Inherited from KeyListener - virtual void keyPressed(gcn::KeyEvent& keyEvent); + void keyPressed(gcn::KeyEvent& keyEvent); // Inherited from MouseListener - virtual void mouseWheelMovedUp(gcn::MouseEvent& mouseEvent); + void mouseWheelMovedUp(gcn::MouseEvent& mouseEvent); - virtual void mouseWheelMovedDown(gcn::MouseEvent& mouseEvent); + void mouseWheelMovedDown(gcn::MouseEvent& mouseEvent); + + void mouseDragged(gcn::MouseEvent &event); /** * Sets the selected item. The selected item is represented by |