(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

@@ -2406,14 +2406,6 @@ struct GameSettingsWindow : QueryStringBaseWindow {
this->SetWidgetDisabledState(WID_GS_COLLAPSE_ALL, all_folded);
}
virtual EventState OnKeyPress(uint16 key, uint16 keycode)
{
/* Handle editbox input */
EventState state = ES_NOT_HANDLED;
this->HandleEditBoxKey(WID_GS_FILTER, key, keycode, state);
return state;
}
virtual void OnOSKInput(int wid)
{
if (wid == WID_GS_FILTER) {