diff options
author | frosch <frosch@openttd.org> | 2012-11-11 16:10:43 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-11 16:10:43 +0000 |
commit | 03736af2aee50db4e36c2cd9127085630f82cd4b (patch) | |
tree | 417a584e588daf08f7a9a4f00a5883c48d6fae8d /src/company_gui.cpp | |
parent | cd5525386519d878aade98c6708500f170c30e31 (diff) | |
download | openttd-03736af2aee50db4e36c2cd9127085630f82cd4b.tar.xz |
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
Diffstat (limited to 'src/company_gui.cpp')
-rw-r--r-- | src/company_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp index 1aa5f7bec..ae6f394e9 100644 --- a/src/company_gui.cpp +++ b/src/company_gui.cpp @@ -466,7 +466,7 @@ Money CompanyFinancesWindow::max_money = INT32_MAX; static const WindowDesc _company_finances_desc( WDP_AUTO, 0, 0, WC_FINANCES, WC_NONE, - WDF_UNCLICK_BUTTONS, + 0, _nested_company_finances_widgets, lengthof(_nested_company_finances_widgets) ); @@ -1482,7 +1482,7 @@ const StringID SelectCompanyManagerFaceWindow::PART_TEXTS[] = { static const WindowDesc _select_company_manager_face_desc( WDP_AUTO, 0, 0, WC_COMPANY_MANAGER_FACE, WC_NONE, - WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, + WDF_CONSTRUCTION, _nested_select_company_manager_face_widgets, lengthof(_nested_select_company_manager_face_widgets) ); @@ -1836,7 +1836,7 @@ struct CompanyInfrastructureWindow : Window static const WindowDesc _company_infrastructure_desc( WDP_AUTO, 0, 0, WC_COMPANY_INFRASTRUCTURE, WC_NONE, - WDF_UNCLICK_BUTTONS, + 0, _nested_company_infrastructure_widgets, lengthof(_nested_company_infrastructure_widgets) ); @@ -2401,7 +2401,7 @@ struct CompanyWindow : Window static const WindowDesc _company_desc( WDP_AUTO, 0, 0, WC_COMPANY, WC_NONE, - WDF_UNCLICK_BUTTONS, + 0, _nested_company_widgets, lengthof(_nested_company_widgets) ); |