summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-13 21:46:19 +0000
committerfrosch <frosch@openttd.org>2012-11-13 21:46:19 +0000
commit17025fa6ea110f0db0b1c2e29b7615b21c2f5a50 (patch)
treee172f8a486ffd070f0a04406e46d74b24a68348c /src/newgrf_gui.cpp
parent8cd77b6f6eb0e82ebcb4c0197786eeea08dd0263 (diff)
downloadopenttd-17025fa6ea110f0db0b1c2e29b7615b21c2f5a50.tar.xz
(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 114895534..80010c301 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -736,12 +736,6 @@ struct NewGRFWindow : public QueryStringBaseWindow, NewGRFScanCallback {
}
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- if (this->editable) this->DrawEditBox(WID_NS_FILTER);
- }
-
/**
* Pick the palette for the sprite of the grf to display.
* @param c grf to display.