* Pop up a generic text only menu. * @param w Toolbar * @param widget Toolbar button * @param list List of items * @param def Default item */
| 123 | * @param def Default item |
| 124 | */ |
| 125 | static void PopupMainToolbarMenu(Window *w, WidgetID widget, DropDownList &&list, int def) |
| 126 | { |
| 127 | ShowDropDownList(w, std::move(list), def, widget, 0, GetToolbarDropDownOptions()); |
| 128 | } |
| 129 | |
| 130 | /** |
| 131 | * Pop up a generic text only menu. |
no test coverage detected