diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-01-23 22:33:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-01-23 22:33:26 +0300 |
commit | c3755c31222a7cd4e90f772eb88a992dd64f6c06 (patch) | |
tree | ca0240e6b8597276a3e761d3ba18d838d8a94bc5 /src/gui/widgets/popuplist.cpp | |
parent | 533e703a2c394b9c4a0c0e2d7367dd5cc48c1502 (diff) | |
download | plus-c3755c31222a7cd4e90f772eb88a992dd64f6c06.tar.gz plus-c3755c31222a7cd4e90f772eb88a992dd64f6c06.tar.bz2 plus-c3755c31222a7cd4e90f772eb88a992dd64f6c06.tar.xz plus-c3755c31222a7cd4e90f772eb88a992dd64f6c06.zip |
Use in different listbox derived classes different xml skin.
Diffstat (limited to 'src/gui/widgets/popuplist.cpp')
-rw-r--r-- | src/gui/widgets/popuplist.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/popuplist.cpp b/src/gui/widgets/popuplist.cpp index ca9ef2c7d..ccd186197 100644 --- a/src/gui/widgets/popuplist.cpp +++ b/src/gui/widgets/popuplist.cpp @@ -36,8 +36,9 @@ PopupList::PopupList(DropDown *const widget, Popup("PopupList", "popuplist.xml"), gcn::FocusListener(), mListModel(listModel), - mListBox(extended ? new ExtendedListBox(widget, listModel, 0) : - new ListBox(widget, listModel)), + mListBox(extended ? new ExtendedListBox( + widget, listModel, "extendedlistbox.xml", 0) : + new ListBox(widget, listModel, "popuplistbox.xml")), mScrollArea(new ScrollArea(mListBox, false)), mDropDown(widget), mModal(modal) |