• Eli Zaretskii's avatar
    Fix bug #10299 with Unicode characters sent on MS-Windows by MSKLC. · d30be705
    Eli Zaretskii authored
     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
     (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.
w32fns.c 223 KB