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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/listbox.h b/src/gui/listbox.h
index c1932f54..deca07cf 100644
--- a/src/gui/listbox.h
+++ b/src/gui/listbox.h
@@ -73,9 +73,9 @@ class ListBox : public gcn::ListBox
/**
* Sets the index of the selected element.
*/
- void setSelected(int selected);
+ virtual void setSelected(int selected);
- private:
+ protected:
/**
* Sends out selection events to the list of selection listeners.
*/