summaryrefslogtreecommitdiff
path: root/src/genworld_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/genworld_gui.cpp
parent8cd77b6f6eb0e82ebcb4c0197786eeea08dd0263 (diff)
downloadopenttd-17025fa6ea110f0db0b1c2e29b7615b21c2f5a50.tar.xz
(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index 08dd60064..b28c968ae 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -521,12 +521,6 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
}
}
- virtual void OnPaint()
- {
- this->DrawWidgets();
- this->DrawEditBox(WID_GL_RANDOM_EDITBOX);
- }
-
virtual void OnClick(Point pt, int widget, int click_count)
{
switch (widget) {