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_gui.h | |
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_gui.h')
-rw-r--r-- | src/window_gui.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 433ed8729..ce9c062c6 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -488,7 +488,7 @@ public: void UnfocusFocusedWidget(); bool SetFocusedWidget(int widget_index); - EventState HandleEditBoxKey(int wid, uint16 key, uint16 keycode); + EventState HandleEditBoxKey(int wid, WChar key, uint16 keycode); void HandleButtonClick(byte widget); int GetRowFromWidget(int clickpos, int widget, int padding, int line_height = -1) const; |