summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-03-23 12:47:04 +0000
committerfrosch <frosch@openttd.org>2014-03-23 12:47:04 +0000
commit3352dc7e62e85d747698d15f25ece3e11975847d (patch)
treeac9f06cce475c86dc6730f5d1e9f20a849d0a321
parentf06a08521cbf6f9f24b19cdda6bb1d6663bea7d5 (diff)
downloadopenttd-3352dc7e62e85d747698d15f25ece3e11975847d.tar.xz
(svn r26419) -Cleanup: Remove implementation of BuildTreesWindow::OnPaint since it matches the one of the base class.
-rw-r--r--src/tree_gui.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp
index d1429d144..784f4546d 100644
--- a/src/tree_gui.cpp
+++ b/src/tree_gui.cpp
@@ -100,11 +100,6 @@ public:
}
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- }
-
virtual void DrawWidget(const Rect &r, int widget) const
{
if (widget < WID_BT_TYPE_11 || widget > WID_BT_TYPE_34 || widget - WID_BT_TYPE_11 >= this->count) return;