summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-13 21:47:02 +0000
committerfrosch <frosch@openttd.org>2012-11-13 21:47:02 +0000
commitc4d7c8dd427287d42374b5a83842f570642b100c (patch)
tree2f27364c8fa88537277244fade47f87bcbe4b6fd /src/genworld_gui.cpp
parent7699a7dc06049956b90d3f41a14109ee05b97514 (diff)
downloadopenttd-c4d7c8dd427287d42374b5a83842f570642b100c.tar.xz
(svn r24733) -Codechange: Move handling of editbox keys to window class.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index 26911f309..452223062 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -694,13 +694,6 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
}
}
- virtual EventState OnKeyPress(uint16 key, uint16 keycode)
- {
- EventState state = ES_NOT_HANDLED;
- this->HandleEditBoxKey(WID_GL_RANDOM_EDITBOX, key, keycode, state);
- return state;
- }
-
virtual void OnOSKInput(int wid)
{
if (wid == WID_GL_RANDOM_EDITBOX) {