summaryrefslogtreecommitdiff
path: root/src/gui/shoplistbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shoplistbox.cpp')
-rw-r--r--src/gui/shoplistbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/shoplistbox.cpp b/src/gui/shoplistbox.cpp
index 8cf0b639..946f518b 100644
--- a/src/gui/shoplistbox.cpp
+++ b/src/gui/shoplistbox.cpp
@@ -112,7 +112,7 @@ void ShopListBox::setSelected(int selected)
mSelected = std::min(mListModel->getNumberOfElements() - 1,
std::max(-1, selected));
- gcn::BasicContainer *parent = getParent();
+ gcn::Widget *parent = getParent();
if (parent)
{
gcn::Rectangle scroll;