From 03736af2aee50db4e36c2cd9127085630f82cd4b Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 11 Nov 2012 16:10:43 +0000 Subject: (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. --- src/town_gui.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/town_gui.cpp') diff --git a/src/town_gui.cpp b/src/town_gui.cpp index 5700ec2b7..031869c88 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -282,7 +282,7 @@ public: static const WindowDesc _town_authority_desc( WDP_AUTO, 317, 222, WC_TOWN_AUTHORITY, WC_NONE, - WDF_UNCLICK_BUTTONS, + 0, _nested_town_authority_widgets, lengthof(_nested_town_authority_widgets) ); @@ -552,7 +552,7 @@ static const NWidgetPart _nested_town_game_view_widgets[] = { static const WindowDesc _town_game_view_desc( WDP_AUTO, 260, TownViewWindow::WID_TV_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, - WDF_UNCLICK_BUTTONS, + 0, _nested_town_game_view_widgets, lengthof(_nested_town_game_view_widgets) ); @@ -583,7 +583,7 @@ static const NWidgetPart _nested_town_editor_view_widgets[] = { static const WindowDesc _town_editor_view_desc( WDP_AUTO, 260, TownViewWindow::WID_TV_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, - WDF_UNCLICK_BUTTONS, + 0, _nested_town_editor_view_widgets, lengthof(_nested_town_editor_view_widgets) ); @@ -888,7 +888,7 @@ GUITownList::SortFunction * const TownDirectoryWindow::sorter_funcs[] = { static const WindowDesc _town_directory_desc( WDP_AUTO, 208, 202, WC_TOWN_DIRECTORY, WC_NONE, - WDF_UNCLICK_BUTTONS, + 0, _nested_town_directory_widgets, lengthof(_nested_town_directory_widgets) ); @@ -1147,7 +1147,7 @@ public: static const WindowDesc _found_town_desc( WDP_AUTO, 160, 162, WC_FOUND_TOWN, WC_NONE, - WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION, + WDF_CONSTRUCTION, _nested_found_town_widgets, lengthof(_nested_found_town_widgets) ); -- cgit v1.2.3-70-g09d2