summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-08-12 06:44:45 +0000
committerfrosch <frosch@openttd.org>2010-08-12 06:44:45 +0000
commit10339c60c0e53ccc90f0cc379763be6582d87bf2 (patch)
tree475be37fecf0ade3656700f0a7024a10bda48545 /src/widgets
parent629b350a71c10b7675a70226d0ead657258f5cb6 (diff)
downloadopenttd-10339c60c0e53ccc90f0cc379763be6582d87bf2.tar.xz
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/dropdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp
index c3c99ad7a..1297ae4ca 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -75,7 +75,7 @@ enum DropdownMenuWidgets {
static const NWidgetPart _nested_dropdown_menu_widgets[] = {
NWidget(NWID_HORIZONTAL),
- NWidget(WWT_PANEL, COLOUR_END, DDM_ITEMS), SetMinimalSize(1, 1), EndContainer(),
+ NWidget(WWT_PANEL, COLOUR_END, DDM_ITEMS), SetMinimalSize(1, 1), SetScrollbar(DDM_SCROLL), EndContainer(),
NWidget(WWT_SCROLLBAR, COLOUR_END, DDM_SCROLL),
EndContainer(),
};