Added support for WM_UNICHAR.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent fa0cbd9a44
commit 082306b1db
  1. 15
      src/win32_window.c

@ -427,6 +427,21 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
return 0;
}
case WM_UNICHAR:
{
// This message is not sent by Windows, but is sent by some
// third-party input method engines
if (wParam == UNICODE_NOCHAR)
{
// Returning TRUE here announces support for this message
return TRUE;
}
_glfwInputChar(window, (unsigned int) wParam);
return FALSE;
}
case WM_KEYUP:
case WM_SYSKEYUP:
{

Loading…
Cancel
Save