comctl32: Make LISTVIEW_ProcessLetterKeys accept Unicode characters.
This commit is contained in:
parent
34e2848838
commit
73b490b57d
|
@ -1530,7 +1530,7 @@ static INT LISTVIEW_ProcessLetterKeys(LISTVIEW_INFO *infoPtr, WPARAM charCode, L
|
||||||
if (!charCode || !keyData) return 0;
|
if (!charCode || !keyData) return 0;
|
||||||
|
|
||||||
/* only allow the valid WM_CHARs through */
|
/* only allow the valid WM_CHARs through */
|
||||||
if (!isalnum(charCode) &&
|
if (!isalnumW(charCode) &&
|
||||||
charCode != '.' && charCode != '`' && charCode != '!' &&
|
charCode != '.' && charCode != '`' && charCode != '!' &&
|
||||||
charCode != '@' && charCode != '#' && charCode != '$' &&
|
charCode != '@' && charCode != '#' && charCode != '$' &&
|
||||||
charCode != '%' && charCode != '^' && charCode != '&' &&
|
charCode != '%' && charCode != '^' && charCode != '&' &&
|
||||||
|
|
Loading…
Reference in New Issue