(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.

This commit is contained in:
frosch
2012-11-13 21:46:19 +00:00
parent c54f982a62
commit e95b757c11
13 changed files with 7 additions and 74 deletions

View File

@@ -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.