summaryrefslogtreecommitdiff
path: root/src/gui/widgets/listbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/listbox.h')
-rw-r--r--src/gui/widgets/listbox.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h
index 21f6b00b0..8296d90e4 100644
--- a/src/gui/widgets/listbox.h
+++ b/src/gui/widgets/listbox.h
@@ -46,7 +46,9 @@ class ListBox : public gcn::ListBox,
/**
* Constructor.
*/
- ListBox(const Widget2 *const widget, gcn::ListModel *const listModel);
+ ListBox(const Widget2 *const widget,
+ gcn::ListModel *const listModel,
+ const std::string &skin);
A_DELETE_COPY(ListBox)
@@ -94,8 +96,7 @@ class ListBox : public gcn::ListBox,
int mOldSelected;
int mPadding;
static float mAlpha;
- static Skin *mSkin;
- static int mInstances;
+ Skin *mSkin;
};
#endif