(svn r18274) -Codechange: remove the unused WDF flags

This commit is contained in:
rubidium
2009-11-24 17:28:29 +00:00
parent 8371be352b
commit 69b6d9309a
43 changed files with 126 additions and 133 deletions

View File

@@ -127,7 +127,7 @@ static const NWidgetPart _nested_build_industry_widgets[] = {
static const WindowDesc _build_industry_desc(
WDP_AUTO, WDP_AUTO, 170, 212,
WC_BUILD_INDUSTRY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE | WDF_CONSTRUCTION,
WDF_CONSTRUCTION,
_nested_build_industry_widgets, lengthof(_nested_build_industry_widgets)
);
@@ -822,7 +822,7 @@ static const NWidgetPart _nested_industry_view_widgets[] = {
static const WindowDesc _industry_view_desc(
WDP_AUTO, WDP_AUTO, 260, 120,
WC_INDUSTRY_VIEW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
WDF_UNCLICK_BUTTONS,
_nested_industry_view_widgets, lengthof(_nested_industry_view_widgets)
);
@@ -1198,7 +1198,7 @@ const StringID IndustryDirectoryWindow::sorter_names[] = {
static const WindowDesc _industry_directory_desc(
WDP_AUTO, WDP_AUTO, 428, 190,
WC_INDUSTRY_DIRECTORY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
WDF_UNCLICK_BUTTONS,
_nested_industry_directory_widgets, lengthof(_nested_industry_directory_widgets)
);