summaryrefslogtreecommitdiff
path: root/station_gui.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-12-07 15:48:52 +0000
committerpeter1138 <peter1138@openttd.org>2005-12-07 15:48:52 +0000
commit5f3dc36983704020dc2864d680b11ea860ef06a8 (patch)
treed638a6da25b4f6534366438f6b3b5f46acc71a1b /station_gui.c
parentef36eaad4af3844a69780d5f3433328de0852462 (diff)
downloadopenttd-5f3dc36983704020dc2864d680b11ea860ef06a8.tar.xz
(svn r3270) Correct all (mis)uses of WWT_CLOSEBOX / WWT_TEXTBTN to reflect their actual use, and add "Close Window" tooltip where missing.
Diffstat (limited to 'station_gui.c')
-rw-r--r--station_gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/station_gui.c b/station_gui.c
index 268ec56ee..f373a3fa8 100644
--- a/station_gui.c
+++ b/station_gui.c
@@ -272,7 +272,7 @@ void ShowPlayerStations(PlayerID player)
}
static const Widget _station_view_expanded_widgets[] = {
-{ WWT_TEXTBTN, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW},
+{ WWT_CLOSEBOX, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW},
{ WWT_CAPTION, RESIZE_NONE, 14, 11, 236, 0, 13, STR_300A_0, STR_018C_WINDOW_TITLE_DRAG_THIS},
{ WWT_STICKYBOX, RESIZE_NONE, 14, 237, 248, 0, 13, 0x0, STR_STICKY_BUTTON},
{ WWT_IMGBTN, RESIZE_NONE, 14, 0, 236, 14, 65, 0x0, STR_NULL},
@@ -290,7 +290,7 @@ static const Widget _station_view_expanded_widgets[] = {
};
static const Widget _station_view_widgets[] = {
-{ WWT_TEXTBTN, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW},
+{ WWT_CLOSEBOX, RESIZE_NONE, 14, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW},
{ WWT_CAPTION, RESIZE_NONE, 14, 11, 236, 0, 13, STR_300A_0, STR_018C_WINDOW_TITLE_DRAG_THIS},
{ WWT_STICKYBOX, RESIZE_NONE, 14, 237, 248, 0, 13, 0x0, STR_STICKY_BUTTON},
{ WWT_IMGBTN, RESIZE_NONE, 14, 0, 236, 14, 65, 0x0, STR_NULL},