summaryrefslogtreecommitdiff
path: root/src/gui/listbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/listbox.h')
-rw-r--r--src/gui/listbox.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gui/listbox.h b/src/gui/listbox.h
index deca07cf..1d480eb1 100644
--- a/src/gui/listbox.h
+++ b/src/gui/listbox.h
@@ -48,9 +48,7 @@ class ListBox : public gcn::ListBox
*/
void draw(gcn::Graphics *graphics);
- void mousePress(int x, int y, int button);
- void mouseRelease(int x, int y, int button);
- void mouseMotion(int x, int y);
+ void mouseDragged(gcn::MouseEvent &event);
/**
* Adds a listener to the list that's notified each time a change to
@@ -81,8 +79,6 @@ class ListBox : public gcn::ListBox
*/
void fireSelectionChangedEvent();
- bool mMousePressed; /**< Keeps track of mouse pressed status. */
-
std::list<SelectionListener*> mListeners;
};