summaryrefslogtreecommitdiff
path: root/src/signs_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/signs_gui.cpp
parent8cd77b6f6eb0e82ebcb4c0197786eeea08dd0263 (diff)
downloadopenttd-17025fa6ea110f0db0b1c2e29b7615b21c2f5a50.tar.xz
(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r--src/signs_gui.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp
index 113a45736..2d2d1529d 100644
--- a/src/signs_gui.cpp
+++ b/src/signs_gui.cpp
@@ -204,7 +204,6 @@ struct SignListWindow : QueryStringBaseWindow, SignList {
{
if (this->signs.NeedRebuild()) this->BuildSortSignList();
this->DrawWidgets();
- if (!this->IsShaded()) this->DrawEditBox(WID_SIL_FILTER_TEXT);
}
virtual void DrawWidget(const Rect &r, int widget) const
@@ -523,12 +522,6 @@ struct SignWindow : QueryStringBaseWindow, SignList {
}
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- if (!this->IsShaded()) this->DrawEditBox(WID_QES_TEXT);
- }
-
virtual void OnClick(Point pt, int widget, int click_count)
{
switch (widget) {