From 8b4288f9cd03d4b194a5a11b597276d5e2438452 Mon Sep 17 00:00:00 2001 From: darkvater Date: Thu, 23 Dec 2004 11:36:22 +0000 Subject: (svn r1243) -Fix: Scenario road-building toolbar also stickified. Thx for the notice teeone --- road_gui.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'road_gui.c') diff --git a/road_gui.c b/road_gui.c index ccf6c3310..ef43bf060 100644 --- a/road_gui.c +++ b/road_gui.c @@ -310,7 +310,8 @@ void ShowBuildRoadToolbar() static const Widget _build_road_scen_widgets[] = { { WWT_TEXTBTN, 7, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, -{ WWT_CAPTION, 7, 11, 173, 0, 13, STR_1802_ROAD_CONSTRUCTION, STR_018C_WINDOW_TITLE_DRAG_THIS}, +{ WWT_CAPTION, 7, 11, 161, 0, 13, STR_1802_ROAD_CONSTRUCTION, STR_018C_WINDOW_TITLE_DRAG_THIS}, +{ WWT_STICKYBOX, 7, 162, 173, 0, 13, 0x0, STR_STICKY_BUTTON}, { WWT_IMGBTN, 7, 0, 21, 14, 35, 0x51D, STR_180B_BUILD_ROAD_SECTION}, { WWT_IMGBTN, 7, 22, 43, 14, 35, 0x51E, STR_180B_BUILD_ROAD_SECTION}, @@ -328,7 +329,7 @@ static const Widget _build_road_scen_widgets[] = { static const WindowDesc _build_road_scen_desc = { -1, -1, 174, 36, WC_SCEN_BUILD_ROAD,0, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, + WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON, _build_road_scen_widgets, BuildRoadToolbWndProc }; -- cgit v1.2.3-54-g00ecf