diff options
author | frosch <frosch@openttd.org> | 2010-08-12 06:44:45 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-08-12 06:44:45 +0000 |
commit | 10339c60c0e53ccc90f0cc379763be6582d87bf2 (patch) | |
tree | 475be37fecf0ade3656700f0a7024a10bda48545 /src/depot_gui.cpp | |
parent | 629b350a71c10b7675a70226d0ead657258f5cb6 (diff) | |
download | openttd-10339c60c0e53ccc90f0cc379763be6582d87bf2.tar.xz |
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
Diffstat (limited to 'src/depot_gui.cpp')
-rw-r--r-- | src/depot_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depot_gui.cpp b/src/depot_gui.cpp index eaf7fcb22..050632e4a 100644 --- a/src/depot_gui.cpp +++ b/src/depot_gui.cpp @@ -70,7 +70,7 @@ static const NWidgetPart _nested_train_depot_widgets[] = { EndContainer(), NWidget(NWID_HORIZONTAL), NWidget(NWID_VERTICAL), - NWidget(WWT_MATRIX, COLOUR_GREY, DEPOT_WIDGET_MATRIX), SetDataTip(0x0, STR_NULL), SetResize(1, 1), + NWidget(WWT_MATRIX, COLOUR_GREY, DEPOT_WIDGET_MATRIX), SetDataTip(0x0, STR_NULL), SetResize(1, 1), SetScrollbar(DEPOT_WIDGET_V_SCROLL), NWidget(WWT_HSCROLLBAR, COLOUR_GREY, DEPOT_WIDGET_H_SCROLL), EndContainer(), NWidget(NWID_VERTICAL), |