summaryrefslogtreecommitdiff
path: root/src/gui/setup_colors.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_colors.cpp')
-rw-r--r--src/gui/setup_colors.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/setup_colors.cpp b/src/gui/setup_colors.cpp
index 3332c1d73..0e916b691 100644
--- a/src/gui/setup_colors.cpp
+++ b/src/gui/setup_colors.cpp
@@ -48,10 +48,10 @@
const std::string Setup_Colors::rawmsg =
_("This is what the color looks like");
-Setup_Colors::Setup_Colors() :
- SetupTab(),
+Setup_Colors::Setup_Colors(const Widget2 *const widget) :
+ SetupTab(widget),
gcn::SelectionListener(),
- mColorBox(new ListBox(userPalette)),
+ mColorBox(new ListBox(this, userPalette)),
mScroll(new ScrollArea(mColorBox, true, "setup_colors_background.xml")),
mPreview(new BrowserBox(BrowserBox::AUTO_WRAP)),
mTextPreview(new TextPreview(rawmsg)),