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/company_gui.cpp | |
parent | 8371be352b8e4da1637fb63694ce878bc8a6b342 (diff) | |
download | openttd-69b6d9309a5e592b2117b1c851ab680ef9ffd9ed.tar.xz |
(svn r18274) -Codechange: remove the unused WDF flags
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r-- | src/company_gui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp index ab0e53f00..53e57d887 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -470,7 +470,7 @@ Money CompanyFinancesWindow::max_money = INT32_MAX; static const WindowDesc _company_finances_desc( WDP_AUTO, WDP_AUTO, 0, 0, WC_FINANCES, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, + WDF_UNCLICK_BUTTONS, _nested_company_finances_widgets, lengthof(_nested_company_finances_widgets) ); @@ -825,7 +825,7 @@ static const NWidgetPart _nested_select_company_livery_widgets [] = { static const WindowDesc _select_company_livery_desc( WDP_AUTO, WDP_AUTO, 0, 0, WC_COMPANY_COLOUR, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, + 0, _nested_select_company_livery_widgets, lengthof(_nested_select_company_livery_widgets) ); @@ -1404,7 +1404,7 @@ public: static const WindowDesc _select_company_manager_face_desc( WDP_AUTO, WDP_AUTO, 190, 163, WC_COMPANY_MANAGER_FACE, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, + WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, _nested_select_company_manager_face_widgets, lengthof(_nested_select_company_manager_face_widgets) ); @@ -1412,7 +1412,7 @@ static const WindowDesc _select_company_manager_face_desc( static const WindowDesc _select_company_manager_face_adv_desc( WDP_AUTO, WDP_AUTO, 220, 220, WC_COMPANY_MANAGER_FACE, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, + WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, _nested_select_company_manager_face_adv_widgets, lengthof(_nested_select_company_manager_face_adv_widgets) ); @@ -1900,7 +1900,7 @@ struct CompanyWindow : Window static const WindowDesc _company_desc( WDP_AUTO, WDP_AUTO, 360, 170, WC_COMPANY, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, + WDF_UNCLICK_BUTTONS, _nested_company_widgets, lengthof(_nested_company_widgets) ); @@ -2012,7 +2012,7 @@ static const NWidgetPart _nested_buy_company_widgets[] = { static const WindowDesc _buy_company_desc( 153, 171, 334, 137, WC_BUY_COMPANY, WC_NONE, - WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION, + WDF_CONSTRUCTION, _nested_buy_company_widgets, lengthof(_nested_buy_company_widgets) ); |