Avoid beep when Alt+char is pressed on Skia/Win port

This commit is contained in:
David Capello 2015-10-05 21:16:27 -03:00
parent 2bc6a76fd5
commit 7434dd053a

View File

@ -428,6 +428,10 @@ namespace she {
return 0;
}
case WM_MENUCHAR:
// Avoid playing a sound when Alt+key is pressed and it's not in a native menu
return MAKELONG(0, MNC_CLOSE);
case WM_DROPFILES: {
HDROP hdrop = (HDROP)(wparam);
Event::Files files;