From 293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 28 Nov 2009 14:42:35 +0000 Subject: (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. --- src/station_gui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/station_gui.cpp') diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 9d922b936..1811dc34b 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -707,7 +707,7 @@ static const NWidgetPart _nested_company_stations_widgets[] = { }; static const WindowDesc _company_stations_desc( - WDP_AUTO, WDP_AUTO, 358, 162, + WDP_AUTO, 358, 162, WC_STATION_LIST, WC_NONE, 0, _nested_company_stations_widgets, lengthof(_nested_company_stations_widgets) @@ -1165,7 +1165,7 @@ struct StationViewWindow : public Window { static const WindowDesc _station_view_desc( - WDP_AUTO, WDP_AUTO, 249, 110, + WDP_AUTO, 249, 110, WC_STATION_VIEW, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_station_view_widgets, lengthof(_nested_station_view_widgets) @@ -1412,7 +1412,7 @@ struct SelectStationWindow : Window { }; static const WindowDesc _select_station_desc( - WDP_AUTO, WDP_AUTO, 200, 180, + WDP_AUTO, 200, 180, WC_SELECT_STATION, WC_NONE, WDF_CONSTRUCTION, _nested_select_station_widgets, lengthof(_nested_select_station_widgets) -- cgit v1.2.3-54-g00ecf