LCL: reintroduced Char() typecast in WM_CHAR message handling on Windows. Hopefully fixes bug #20144.

git-svn-id: trunk@32173 -
This commit is contained in:
maxim 2011-09-03 20:34:36 +00:00
parent fe76e1084a
commit f73c6a5952

View File

@ -1133,7 +1133,7 @@ begin
Msg := CN_CHAR;
KeyData := LParam;
if UnicodeEnabledOS then
CharCode := Word(WideChar(WParam))
CharCode := Word(Char(WideChar(WParam)))
else
CharCode := Word(WParam);
OrgCharCode := CharCode;