diff options
author | rubidium <rubidium@openttd.org> | 2009-11-24 17:28:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-24 17:28:29 +0000 |
commit | 69b6d9309a5e592b2117b1c851ab680ef9ffd9ed (patch) | |
tree | 1f7c5923c848b436b31d9f4e704d50493203f80f /src/town_gui.cpp | |
parent | 8371be352b8e4da1637fb63694ce878bc8a6b342 (diff) | |
download | openttd-69b6d9309a5e592b2117b1c851ab680ef9ffd9ed.tar.xz |
(svn r18274) -Codechange: remove the unused WDF flags
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 237485266..9cf0c9193 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -286,7 +286,7 @@ public: static const WindowDesc _town_authority_desc( WDP_AUTO, WDP_AUTO, 317, 222, WC_TOWN_AUTHORITY, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE, + WDF_UNCLICK_BUTTONS, _nested_town_authority_widgets, lengthof(_nested_town_authority_widgets) ); @@ -549,7 +549,7 @@ static const NWidgetPart _nested_town_game_view_widgets[] = { static const WindowDesc _town_game_view_desc( WDP_AUTO, WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, + WDF_UNCLICK_BUTTONS, _nested_town_game_view_widgets, lengthof(_nested_town_game_view_widgets) ); @@ -579,7 +579,7 @@ static const NWidgetPart _nested_town_editor_view_widgets[] = { static const WindowDesc _town_editor_view_desc( WDP_AUTO, WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, + WDF_UNCLICK_BUTTONS, _nested_town_editor_view_widgets, lengthof(_nested_town_editor_view_widgets) ); @@ -869,7 +869,7 @@ GUITownList::SortFunction * const TownDirectoryWindow::sorter_funcs[] = { static const WindowDesc _town_directory_desc( WDP_AUTO, WDP_AUTO, 208, 202, WC_TOWN_DIRECTORY, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, + WDF_UNCLICK_BUTTONS, _nested_town_directory_widgets, lengthof(_nested_town_directory_widgets) ); @@ -1145,7 +1145,7 @@ public: static const WindowDesc _found_town_desc( WDP_AUTO, WDP_AUTO, 160, 162, WC_FOUND_TOWN, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, + WDF_CONSTRUCTION, _nested_found_town_widgets, lengthof(_nested_found_town_widgets) ); |