(svn r24733) -Codechange: Move handling of editbox keys to window class.

This commit is contained in:
frosch
2012-11-13 21:47:02 +00:00
parent 8f611527e9
commit 08e92e6f23
13 changed files with 34 additions and 94 deletions

View File

@@ -510,13 +510,15 @@ struct NetworkChatWindow : public QueryStringBaseWindow {
if (keycode == WKC_TAB) {
ChatTabCompletion();
state = ES_HANDLED;
} else {
_chat_tab_completion_active = false;
this->HandleEditBoxKey(WID_NC_TEXTBOX, key, keycode, state);
}
return state;
}
virtual void OnOSKInput(int wid)
{
_chat_tab_completion_active = false;
}
/**
* Some data on this window has become invalid.
* @param data Information about the changed data.