(svn r17505) -Codechange: WWT_EMPTY is not a special case any more for invalidating widgets.

This commit is contained in:
alberth
2009-09-11 19:26:44 +00:00
parent 029c711732
commit 2895bb0e36
2 changed files with 0 additions and 8 deletions

View File

@@ -2272,13 +2272,6 @@ void NWidgetLeaf::Draw(const Window *w)
}
}
void NWidgetLeaf::Invalidate(const Window *w) const
{
if (this->type == WWT_EMPTY) return; // Don't repaint dummy widgets.
NWidgetBase::Invalidate(w);
}
Scrollbar *NWidgetLeaf::FindScrollbar(Window *w, bool allow_next)
{
if (this->type == WWT_SCROLLBAR) return &w->vscroll;