From 17025fa6ea110f0db0b1c2e29b7615b21c2f5a50 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 13 Nov 2012 21:46:19 +0000 Subject: (svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code. --- src/newgrf_gui.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/newgrf_gui.cpp') 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. -- cgit v1.2.3-70-g09d2