(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged.

This commit is contained in:
frosch
2012-11-13 21:47:07 +00:00
parent 08e92e6f23
commit f1d40ca6f2
12 changed files with 17 additions and 18 deletions

View File

@@ -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));