diff options
author | frosch <frosch@openttd.org> | 2012-11-13 21:47:07 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-13 21:47:07 +0000 |
commit | 2c22fe98ddae45d1553003a00a7ea0a301e9aa99 (patch) | |
tree | 2fd5045b9283a129c73b969e1ef686ecd17de93a /src/network | |
parent | c4d7c8dd427287d42374b5a83842f570642b100c (diff) | |
download | openttd-2c22fe98ddae45d1553003a00a7ea0a301e9aa99.tar.xz |
(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged.
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network_chat_gui.cpp | 2 | ||||
-rw-r--r-- | src/network/network_content_gui.cpp | 2 | ||||
-rw-r--r-- | src/network/network_gui.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/network/network_chat_gui.cpp b/src/network/network_chat_gui.cpp index af2357dc1..2e0be50ba 100644 --- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.cpp @@ -514,7 +514,7 @@ struct NetworkChatWindow : public QueryStringBaseWindow { return state; } - virtual void OnOSKInput(int wid) + virtual void OnEditboxChanged(int wid) { _chat_tab_completion_active = false; } diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index 2262a09fb..069648001 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -779,7 +779,7 @@ public: return ES_HANDLED; } - virtual void OnOSKInput(int wid) + virtual void OnEditboxChanged(int wid) { if (wid == WID_NCL_FILTER) { this->string_filter.SetFilterTerm(this->edit_str_buf); diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp index a3b5726d8..f1df26d6f 100644 --- a/src/network/network_gui.cpp +++ b/src/network/network_gui.cpp @@ -847,7 +847,7 @@ public: return state; } - virtual void OnOSKInput(int wid) + virtual void OnEditboxChanged(int wid) { if (wid == WID_NG_CLIENT) { /* The name is only allowed when it starts with a letter! */ @@ -1170,7 +1170,7 @@ struct NetworkStartServerWindow : public QueryStringBaseWindow { this->SetDirty(); } - virtual void OnOSKInput(int wid) + virtual void OnEditboxChanged(int wid) { if (wid == WID_NSS_GAMENAME) { strecpy(_settings_client.network.server_name, this->text.buf, lastof(_settings_client.network.server_name)); |