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/vehicle_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/vehicle_gui.cpp')
-rw-r--r-- | src/vehicle_gui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp index b2dff7c2f..d93937586 100644 --- a/src/vehicle_gui.cpp +++ b/src/vehicle_gui.cpp @@ -917,7 +917,7 @@ static const NWidgetPart _nested_vehicle_refit_widgets[] = { static const WindowDesc _vehicle_refit_desc( WDP_AUTO, 240, 174, WC_VEHICLE_REFIT, WC_VEHICLE_VIEW, - WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, + WDF_CONSTRUCTION, _nested_vehicle_refit_widgets, lengthof(_nested_vehicle_refit_widgets) ); @@ -1614,7 +1614,7 @@ public: static WindowDesc _vehicle_list_desc( WDP_AUTO, 260, 246, WC_INVALID, WC_NONE, - WDF_UNCLICK_BUTTONS, + 0, _nested_vehicle_list, lengthof(_nested_vehicle_list) ); @@ -2073,7 +2073,7 @@ struct VehicleDetailsWindow : Window { static const WindowDesc _train_vehicle_details_desc( WDP_AUTO, 405, 178, WC_VEHICLE_DETAILS, WC_VEHICLE_VIEW, - WDF_UNCLICK_BUTTONS, + 0, _nested_train_vehicle_details_widgets, lengthof(_nested_train_vehicle_details_widgets) ); @@ -2081,7 +2081,7 @@ static const WindowDesc _train_vehicle_details_desc( static const WindowDesc _nontrain_vehicle_details_desc( WDP_AUTO, 405, 113, WC_VEHICLE_DETAILS, WC_VEHICLE_VIEW, - WDF_UNCLICK_BUTTONS, + 0, _nested_nontrain_vehicle_details_widgets, lengthof(_nested_nontrain_vehicle_details_widgets) ); @@ -2140,7 +2140,7 @@ static const NWidgetPart _nested_vehicle_view_widgets[] = { static const WindowDesc _vehicle_view_desc( WDP_AUTO, 250, 116, WC_VEHICLE_VIEW, WC_NONE, - WDF_UNCLICK_BUTTONS, + 0, _nested_vehicle_view_widgets, lengthof(_nested_vehicle_view_widgets) ); @@ -2151,7 +2151,7 @@ static const WindowDesc _vehicle_view_desc( static const WindowDesc _train_view_desc( WDP_AUTO, 250, 134, WC_VEHICLE_VIEW, WC_NONE, - WDF_UNCLICK_BUTTONS, + 0, _nested_vehicle_view_widgets, lengthof(_nested_vehicle_view_widgets) ); |