From ebd916be3def20902cf19ffd16555074728eb9c3 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 13 Sep 2009 19:15:59 +0000 Subject: (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. --- src/widgets/dropdown.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widgets') diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp index 7ab26026d..e78dc153d 100644 --- a/src/widgets/dropdown.cpp +++ b/src/widgets/dropdown.cpp @@ -104,7 +104,7 @@ struct DropdownWindow : Window { 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); @@ -252,7 +252,7 @@ void ShowDropDownList(Window *w, DropDownList *list, int selected, int button, u 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. */ -- cgit v1.2.3-54-g00ecf