(svn r25668) -Codechange: Pass proper Unicode UCS-4 characters instead of just UCS-2 to the window key press handlers.

This commit is contained in:
michi_cc
2013-08-05 20:36:24 +00:00
parent 4b9fdb9ec4
commit 872acc5287
12 changed files with 13 additions and 12 deletions

View File

@@ -19,6 +19,7 @@
#include "widget_type.h"
#include "core/smallvec_type.hpp"
#include "core/smallmap_type.hpp"
#include "string_type.h"
/**
* Flags to describe the look of the frame
@@ -593,7 +594,7 @@ public:
* @return #ES_HANDLED if the key press has been handled and no other
* window should receive the event.
*/
virtual EventState OnKeyPress(uint16 key, uint16 keycode) { return ES_NOT_HANDLED; }
virtual EventState OnKeyPress(WChar key, uint16 keycode) { return ES_NOT_HANDLED; }
virtual EventState OnHotkey(int hotkey);