(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.

This commit is contained in:
frosch
2012-11-11 16:10:43 +00:00
parent cd55253865
commit 03736af2ae
41 changed files with 88 additions and 89 deletions

View File

@@ -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)
);