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/news_gui.cpp | |
parent | 8371be352b8e4da1637fb63694ce878bc8a6b342 (diff) | |
download | openttd-69b6d9309a5e592b2117b1c851ab680ef9ffd9ed.tar.xz |
(svn r18274) -Codechange: remove the unused WDF flags
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index 6a80cdec4..268ed0572 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -108,7 +108,7 @@ static const NWidgetPart _nested_normal_news_widgets[] = { static WindowDesc _normal_news_desc( WDP_CENTER, 476, 430, 170, WC_NEWS_WINDOW, WC_NONE, - WDF_DEF_WIDGET, + 0, _nested_normal_news_widgets, lengthof(_nested_normal_news_widgets) ); @@ -135,7 +135,7 @@ static const NWidgetPart _nested_vehicle_news_widgets[] = { static WindowDesc _vehicle_news_desc( WDP_CENTER, 476, 430, 170, WC_NEWS_WINDOW, WC_NONE, - WDF_DEF_WIDGET, + 0, _nested_vehicle_news_widgets, lengthof(_nested_vehicle_news_widgets) ); @@ -166,7 +166,7 @@ static const NWidgetPart _nested_company_news_widgets[] = { static WindowDesc _company_news_desc( WDP_CENTER, 476, 430, 170, WC_NEWS_WINDOW, WC_NONE, - WDF_DEF_WIDGET, + 0, _nested_company_news_widgets, lengthof(_nested_company_news_widgets) ); @@ -189,7 +189,7 @@ static const NWidgetPart _nested_thin_news_widgets[] = { static WindowDesc _thin_news_desc( WDP_CENTER, 476, 430, 130, WC_NEWS_WINDOW, WC_NONE, - WDF_DEF_WIDGET, + 0, _nested_thin_news_widgets, lengthof(_nested_thin_news_widgets) ); @@ -213,7 +213,7 @@ static NWidgetPart _nested_small_news_widgets[] = { static WindowDesc _small_news_desc( WDP_CENTER, 476, 280, 87, WC_NEWS_WINDOW, WC_NONE, - WDF_DEF_WIDGET, + 0, _nested_small_news_widgets, lengthof(_nested_small_news_widgets) ); @@ -1031,7 +1031,7 @@ static const NWidgetPart _nested_message_history[] = { static const WindowDesc _message_history_desc( 240, 22, 400, 140, WC_MESSAGE_HISTORY, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, + WDF_UNCLICK_BUTTONS, _nested_message_history, lengthof(_nested_message_history) ); @@ -1319,7 +1319,7 @@ static const NWidgetPart _nested_message_options_widgets[] = { static const WindowDesc _message_options_desc( 270, 22, 0, 0, WC_GAME_OPTIONS, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, + WDF_UNCLICK_BUTTONS, _nested_message_options_widgets, lengthof(_nested_message_options_widgets) ); |