(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
This commit is contained in:
@@ -75,7 +75,7 @@ enum DropdownMenuWidgets {
|
||||
|
||||
static const NWidgetPart _nested_dropdown_menu_widgets[] = {
|
||||
NWidget(NWID_HORIZONTAL),
|
||||
NWidget(WWT_PANEL, COLOUR_END, DDM_ITEMS), SetMinimalSize(1, 1), EndContainer(),
|
||||
NWidget(WWT_PANEL, COLOUR_END, DDM_ITEMS), SetMinimalSize(1, 1), SetScrollbar(DDM_SCROLL), EndContainer(),
|
||||
NWidget(WWT_SCROLLBAR, COLOUR_END, DDM_SCROLL),
|
||||
EndContainer(),
|
||||
};
|
||||
|
Reference in New Issue
Block a user