summaryrefslogtreecommitdiff
path: root/src/graph_gui.cpp
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/graph_gui.cpp
parent8371be352b8e4da1637fb63694ce878bc8a6b342 (diff)
downloadopenttd-69b6d9309a5e592b2117b1c851ab680ef9ffd9ed.tar.xz
(svn r18274) -Codechange: remove the unused WDF flags
Diffstat (limited to 'src/graph_gui.cpp')
-rw-r--r--src/graph_gui.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/graph_gui.cpp b/src/graph_gui.cpp
index 86c8bb73c..bda24d0cd 100644
--- a/src/graph_gui.cpp
+++ b/src/graph_gui.cpp
@@ -144,7 +144,7 @@ static const NWidgetPart _nested_graph_legend_widgets[] = {
static const WindowDesc _graph_legend_desc(
WDP_AUTO, WDP_AUTO, 250, 196,
WC_GRAPH_LEGEND, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
+ 0,
_nested_graph_legend_widgets, lengthof(_nested_graph_legend_widgets)
);
@@ -609,7 +609,7 @@ static const NWidgetPart _nested_operating_profit_widgets[] = {
static const WindowDesc _operating_profit_desc(
WDP_AUTO, WDP_AUTO, 576, 174,
WC_OPERATING_PROFIT, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
+ WDF_UNCLICK_BUTTONS,
_nested_operating_profit_widgets, lengthof(_nested_operating_profit_widgets)
);
@@ -650,7 +650,7 @@ static const NWidgetPart _nested_income_graph_widgets[] = {
static const WindowDesc _income_graph_desc(
WDP_AUTO, WDP_AUTO, 576, 142,
WC_INCOME_GRAPH, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
+ WDF_UNCLICK_BUTTONS,
_nested_income_graph_widgets, lengthof(_nested_income_graph_widgets)
);
@@ -688,7 +688,7 @@ static const NWidgetPart _nested_delivered_cargo_graph_widgets[] = {
static const WindowDesc _delivered_cargo_graph_desc(
WDP_AUTO, WDP_AUTO, 576, 142,
WC_DELIVERED_CARGO, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
+ WDF_UNCLICK_BUTTONS,
_nested_delivered_cargo_graph_widgets, lengthof(_nested_delivered_cargo_graph_widgets)
);
@@ -742,7 +742,7 @@ static const NWidgetPart _nested_performance_history_widgets[] = {
static const WindowDesc _performance_history_desc(
WDP_AUTO, WDP_AUTO, 576, 238,
WC_PERFORMANCE_HISTORY, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
+ WDF_UNCLICK_BUTTONS,
_nested_performance_history_widgets, lengthof(_nested_performance_history_widgets)
);
@@ -780,7 +780,7 @@ static const NWidgetPart _nested_company_value_graph_widgets[] = {
static const WindowDesc _company_value_graph_desc(
WDP_AUTO, WDP_AUTO, 576, 238,
WC_COMPANY_VALUE, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
+ WDF_UNCLICK_BUTTONS,
_nested_company_value_graph_widgets, lengthof(_nested_company_value_graph_widgets)
);
@@ -953,7 +953,7 @@ static const NWidgetPart _nested_cargo_payment_rates_widgets[] = {
static const WindowDesc _cargo_payment_rates_desc(
WDP_AUTO, WDP_AUTO, 568, 46,
WC_PAYMENT_RATES, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
+ 0,
_nested_cargo_payment_rates_widgets, lengthof(_nested_cargo_payment_rates_widgets)
);
@@ -1136,7 +1136,7 @@ static const NWidgetPart _nested_company_league_widgets[] = {
static const WindowDesc _company_league_desc(
WDP_AUTO, WDP_AUTO, 400, 167,
WC_COMPANY_LEAGUE, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
+ 0,
_nested_company_league_widgets, lengthof(_nested_company_league_widgets)
);
@@ -1478,7 +1478,7 @@ static const NWidgetPart _nested_performance_rating_detail_widgets[] = {
static const WindowDesc _performance_rating_detail_desc(
WDP_AUTO, WDP_AUTO, 299, 241,
WC_PERFORMANCE_DETAIL, WC_NONE,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
+ 0,
_nested_performance_rating_detail_widgets, lengthof(_nested_performance_rating_detail_widgets)
);