diff options
author | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:36:32 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:36:32 +0000 |
commit | 270d8aa639341f8be7fde9aa6e6f5bb6fa894d4f (patch) | |
tree | 17fea95fbb6309e6250ef15b52910e8f5932b9bc /src/window.cpp | |
parent | 1567e32d89d338fcdf7ac47f4d5fb02e1ca8c18a (diff) | |
download | openttd-270d8aa639341f8be7fde9aa6e6f5bb6fa894d4f.tar.xz |
(svn r25670) -Codechange: Pass UCS-4 characters to the edit box key handler.
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp index d3d9baadd..bf51fd7ad 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -2378,7 +2378,7 @@ static bool MaybeBringWindowToFront(Window *w) * @return #ES_HANDLED if the key press has been handled and no other * window should receive the event. */ -EventState Window::HandleEditBoxKey(int wid, uint16 key, uint16 keycode) +EventState Window::HandleEditBoxKey(int wid, WChar key, uint16 keycode) { QueryString *query = this->GetQueryString(wid); if (query == NULL) return ES_NOT_HANDLED; |