Mercurial > hg > openttd
diff src/newgrf_gui.cpp @ 20693:2b19f1e6c882 draft
-Codechange: Pass proper Unicode UCS-4 characters instead of just UCS-2 to the window key press handlers.
author | Michael Lutz <michi@icosahedron.de> |
---|---|
date | Sat, 23 Mar 2013 23:37:24 +0100 (2013-03-23) |
parents | 862c25eab589 |
children |
line wrap: on
line diff
--- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -1235,7 +1235,7 @@ this->SetWidgetDisabledState(WID_NS_PRESET_SAVE, has_missing); } - virtual EventState OnKeyPress(uint16 key, uint16 keycode) + virtual EventState OnKeyPress(WChar key, uint16 keycode) { if (!this->editable) return ES_NOT_HANDLED;