@@ -101,13 +101,13 @@ struct DropdownWindow : Window {
~DropdownWindow()
{
Window *w2 = FindWindowById(this->parent_wnd_class, this->parent_wnd_num);
if (w2 != NULL) {
w2->RaiseWidget(this->parent_button);
w2->InvalidateWidget(this->parent_button);
w2->SetWidgetDirty(this->parent_button);
}
DeleteDropDownList(this->list);
bool GetDropDownItem(int &value)
@@ -249,13 +249,13 @@ void ShowDropDownList(Window *w, DropDow
static Widget *generated_dropdown_menu_widgets = NULL;
DeleteWindowById(WC_DROPDOWN_MENU, 0);
w->LowerWidget(button);
w->InvalidateWidget(button);
w->SetWidgetDirty(button);
/* Our parent's button widget is used to determine where to place the drop
* down list window. */
Rect wi_rect;
Colours wi_colour;
if (w->nested_array != NULL) {