summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-24 17:28:29 +0000
committerrubidium <rubidium@openttd.org>2009-11-24 17:28:29 +0000
commit69b6d9309a5e592b2117b1c851ab680ef9ffd9ed (patch)
tree1f7c5923c848b436b31d9f4e704d50493203f80f /src/ai
parent8371be352b8e4da1637fb63694ce878bc8a6b342 (diff)
downloadopenttd-69b6d9309a5e592b2117b1c851ab680ef9ffd9ed.tar.xz
(svn r18274) -Codechange: remove the unused WDF flags
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ai/ai_gui.cpp b/src/ai/ai_gui.cpp
index 24e785984..270e6ed1a 100644
--- a/src/ai/ai_gui.cpp
+++ b/src/ai/ai_gui.cpp
@@ -234,7 +234,7 @@ static const NWidgetPart _nested_ai_list_widgets[] = {
static const WindowDesc _ai_list_desc(
WDP_CENTER, WDP_CENTER, 200, 234,
WC_AI_LIST, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
+ WDF_UNCLICK_BUTTONS,
_nested_ai_list_widgets, lengthof(_nested_ai_list_widgets)
);
@@ -445,7 +445,7 @@ static const NWidgetPart _nested_ai_settings_widgets[] = {
static const WindowDesc _ai_settings_desc(
WDP_CENTER, WDP_CENTER, 500, 208,
WC_AI_SETTINGS, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
+ WDF_UNCLICK_BUTTONS,
_nested_ai_settings_widgets, lengthof(_nested_ai_settings_widgets)
);
@@ -504,7 +504,7 @@ static const NWidgetPart _nested_ai_config_widgets[] = {
static const WindowDesc _ai_config_desc(
WDP_CENTER, WDP_CENTER, 300, 172,
WC_GAME_OPTIONS, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
+ WDF_UNCLICK_BUTTONS,
_nested_ai_config_widgets, lengthof(_nested_ai_config_widgets)
);
@@ -974,7 +974,7 @@ static const NWidgetPart _nested_ai_debug_widgets[] = {
static const WindowDesc _ai_debug_desc(
WDP_AUTO, WDP_AUTO, 299, 241,
WC_AI_DEBUG, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE,
+ 0,
_nested_ai_debug_widgets, lengthof(_nested_ai_debug_widgets)
);