(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 7699a7dc06
commit c4d7c8dd42
13 changed files with 34 additions and 94 deletions

View File

@@ -763,12 +763,8 @@ public:
}
/* FALL THROUGH, space is pressed and filter isn't focused. */
default: {
/* Handle editbox input */
EventState state = ES_NOT_HANDLED;
this->HandleEditBoxKey(WID_NCL_FILTER, key, keycode, state);
return state;
}
default:
return ES_NOT_HANDLED;
}
if (_network_content_client.Length() == 0) return ES_HANDLED;