Avoid giving F10 and Alt keys to the system on Win32/Skia port

This commit is contained in:
David Capello 2015-05-19 15:45:49 -03:00
parent 189ee56c4c
commit a90a70bd1e

View File

@ -339,9 +339,10 @@ namespace she {
queueEvent(ev);
}
}
break;
return 0;
}
case WM_SYSKEYUP:
case WM_KEYUP: {
Event ev;
ev.setType(Event::KeyUp);
@ -349,7 +350,10 @@ namespace she {
ev.setUnicodeChar(0);
ev.setRepeat(lparam & 15);
queueEvent(ev);
break;
// TODO If we use native menus, this message should be given
// to the DefWindowProc() in some cases (e.g. F10 or Alt keys)
return 0;
}
case WM_DROPFILES: {