diff options
author | frosch <frosch@openttd.org> | 2012-11-13 21:46:33 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-13 21:46:33 +0000 |
commit | 137adb3496a47f79d4e0a15463c756341f8217a9 (patch) | |
tree | ccaf9feb2bd4c017c4684e220f0fcbff96e388e6 /src/misc_gui.cpp | |
parent | 2614ed18f9345dd41d461ea81e4cc1e5ec428e72 (diff) | |
download | openttd-137adb3496a47f79d4e0a15463c756341f8217a9.tar.xz |
(svn r24726) -Codechange: Move editbox mouseloop handling to Window class.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r-- | src/misc_gui.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp index b99440230..d941f0633 100644 --- a/src/misc_gui.cpp +++ b/src/misc_gui.cpp @@ -813,11 +813,6 @@ HandleEditBoxResult QueryStringBaseWindow::HandleEditBoxKey(int wid, uint16 key, return this->QueryString::HandleEditBoxKey(this, wid, key, keycode, state); } -void QueryStringBaseWindow::HandleEditBox(int wid) -{ - this->QueryString::HandleEditBox(this, wid); -} - void QueryStringBaseWindow::OnOpenOSKWindow(int wid) { ShowOnScreenKeyboard(this, wid, 0, 0); @@ -899,11 +894,6 @@ struct QueryStringWindow : public QueryStringBaseWindow } } - virtual void OnMouseLoop() - { - this->HandleEditBox(WID_QS_TEXT); - } - virtual EventState OnKeyPress(uint16 key, uint16 keycode) { EventState state = ES_NOT_HANDLED; |