(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user