summaryrefslogtreecommitdiff
path: root/src/signs_gui.cpp
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/signs_gui.cpp
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/signs_gui.cpp')
-rw-r--r--src/signs_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp
index db9ce47af..4e28bd15f 100644
--- a/src/signs_gui.cpp
+++ b/src/signs_gui.cpp
@@ -206,7 +206,7 @@ static const NWidgetPart _nested_sign_list_widgets[] = {
EndContainer(),
NWidget(NWID_HORIZONTAL),
NWidget(WWT_PANEL, COLOUR_GREY, SLW_LIST), SetMinimalSize(WD_FRAMETEXT_LEFT + 16 + MAX_LENGTH_SIGN_NAME_PIXELS + WD_FRAMETEXT_RIGHT, 50),
- SetResize(1, 10), SetFill(1, 0), EndContainer(),
+ SetResize(1, 10), SetFill(1, 0), SetScrollbar(SLW_SCROLLBAR), EndContainer(),
NWidget(NWID_VERTICAL),
NWidget(WWT_SCROLLBAR, COLOUR_GREY, SLW_SCROLLBAR),
NWidget(WWT_RESIZEBOX, COLOUR_GREY),