summaryrefslogtreecommitdiff
path: root/src/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget.cpp')
-rw-r--r--src/widget.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/widget.cpp b/src/widget.cpp
index b4c0c9819..e39712e9c 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -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;