Fix bug #10299 with Unicode characters sent on MS-Windows by MSKLC.
authorEli Zaretskii <eliz@gnu.org>
Fri, 10 Aug 2012 06:54:37 +0000 (09:54 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 10 Aug 2012 06:54:37 +0000 (09:54 +0300)
commitd30be705dfb9a14e6ac07df9e8b61f09ed96d95e
tree1ceb8ebe75f221e0c730cf00050b090c12a25457
parent4b94e8cfe59df775a3eb510ec67764e22c91ebd5
Fix bug #10299 with Unicode characters sent on MS-Windows by MSKLC.

 src/w32fns.c (INIT_WINDOW_CLASS): New macro.
 (w32_init_class): Use it to initialize the Emacs class with either
 ANSI or Unicode API calls.
 (w32_msg_pump): Call GetMessageW and DispatchMessageW on NT and
 later.
 (w32_wnd_proc): If the character code sent by WM_CHAR or
 WM_SYSCHAR is above 255, post a WM_UNICHAR message, not the
 original message.  Call DefWindowProcW on NT and later.
src/ChangeLog
src/w32fns.c