summaryrefslogtreecommitdiff
path: root/src/airport_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/airport_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/airport_gui.cpp')
-rw-r--r--src/airport_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp
index d3bcd8a3a..ce8feb64c 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -537,7 +537,7 @@ static const NWidgetPart _nested_build_airport_widgets[] = {
NWidget(WWT_LABEL, COLOUR_DARK_GREEN), SetDataTip(STR_STATION_BUILD_AIRPORT_CLASS_LABEL, STR_NULL), SetFill(1, 0),
NWidget(WWT_DROPDOWN, COLOUR_GREY, BAIRW_CLASS_DROPDOWN), SetFill(1, 0), SetDataTip(STR_BLACK_STRING, STR_NULL),
NWidget(NWID_HORIZONTAL),
- NWidget(WWT_MATRIX, COLOUR_GREY, BAIRW_AIRPORT_LIST), SetFill(1, 0), SetDataTip(0x501, STR_NULL),
+ NWidget(WWT_MATRIX, COLOUR_GREY, BAIRW_AIRPORT_LIST), SetFill(1, 0), SetDataTip(0x501, STR_NULL), SetScrollbar(BAIRW_SCROLLBAR),
NWidget(WWT_SCROLLBAR, COLOUR_GREY, BAIRW_SCROLLBAR),
EndContainer(),
NWidget(NWID_HORIZONTAL),