From 293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 28 Nov 2009 14:42:35 +0000 Subject: (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. --- src/widgets/dropdown.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/dropdown.cpp') diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index d42c54386..547521754 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -83,7 +83,7 @@ static const NWidgetPart _nested_dropdown_menu_widgets[] = { }; const WindowDesc _dropdown_desc( - WDP_MANUAL, WDP_MANUAL, 0, 0, // x/y position not used. + WDP_MANUAL, 0, 0, WC_DROPDOWN_MENU, WC_NONE, 0, _nested_dropdown_menu_widgets, lengthof(_nested_dropdown_menu_widgets) -- cgit v1.2.3-54-g00ecf