Platform/Win32/Win32Keyboard: skip Win32MsgBuffer and handle event directly in handleMessage()
This commit is contained in:
parent
e75d373933
commit
390be8f740
3 changed files with 16 additions and 47 deletions
|
|
@ -31,7 +31,7 @@ LRESULT Win32EventQueue::processMessage(MSG msg, Event& event)
|
|||
OutputDebugString("WM_KEYDOWN\n");
|
||||
//SetCapture(msg.hwnd);
|
||||
|
||||
if (Win32Keyboard::handleMessage(msg)) {
|
||||
if (Win32Keyboard::handleMessage(msg, event)) {
|
||||
// Keyboard did handle the message.
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue