diff options
author | rubidium <rubidium@openttd.org> | 2009-11-15 10:26:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-15 10:26:01 +0000 |
commit | 3d2d7af88f95c2eb4e349c537f74eaf02e8db7f0 (patch) | |
tree | 0bdb2f03353e6bb6431da2f85db3bfa1812ce348 /src/dock_gui.cpp | |
parent | 1b72fa84e25c38d3642acf9a7cbbaf8d59ecb9e8 (diff) | |
download | openttd-3d2d7af88f95c2eb4e349c537f74eaf02e8db7f0.tar.xz |
(svn r18086) -Codechange: remove 'widget' from WindowDesc
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r-- | src/dock_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp index b55d6a131..b538a5f9a 100644 --- a/src/dock_gui.cpp +++ b/src/dock_gui.cpp @@ -288,7 +288,7 @@ static const WindowDesc _build_docks_toolbar_desc( WDP_ALIGN_TBR, 22, 160, 36, 160, 36, WC_BUILD_TOOLBAR, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, - NULL, _nested_build_docks_toolbar_widgets, lengthof(_nested_build_docks_toolbar_widgets) + _nested_build_docks_toolbar_widgets, lengthof(_nested_build_docks_toolbar_widgets) ); void ShowBuildDocksToolbar() @@ -324,7 +324,7 @@ static const WindowDesc _build_docks_scen_toolbar_desc( WDP_AUTO, WDP_AUTO, 115, 36, 115, 36, WC_SCEN_BUILD_TOOLBAR, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, - NULL, _nested_build_docks_scen_toolbar_widgets, lengthof(_nested_build_docks_scen_toolbar_widgets) + _nested_build_docks_scen_toolbar_widgets, lengthof(_nested_build_docks_scen_toolbar_widgets) ); void ShowBuildDocksScenToolbar() @@ -421,7 +421,7 @@ static const WindowDesc _build_dock_station_desc( WDP_AUTO, WDP_AUTO, 148, 75, 148, 75, WC_BUILD_STATION, WC_BUILD_TOOLBAR, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, - NULL, _nested_build_dock_station_widgets, lengthof(_nested_build_dock_station_widgets) + _nested_build_dock_station_widgets, lengthof(_nested_build_dock_station_widgets) ); static void ShowBuildDockStationPicker(Window *parent) @@ -507,7 +507,7 @@ static const WindowDesc _build_docks_depot_desc( WDP_AUTO, WDP_AUTO, 204, 86, 204, 86, WC_BUILD_DEPOT, WC_BUILD_TOOLBAR, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, - NULL, _nested_build_docks_depot_widgets, lengthof(_nested_build_docks_depot_widgets) + _nested_build_docks_depot_widgets, lengthof(_nested_build_docks_depot_widgets) ); |