Fixed Alt + F4 keycombo on Windows

This commit is contained in:
Sam 2013-06-29 16:53:15 +02:00
parent e062562888
commit b81590f297
1 changed files with 3 additions and 0 deletions

View File

@ -624,6 +624,9 @@ LRESULT WIN32Window::windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
break;
}
case WM_SYSKEYDOWN: {
if(wParam == VK_F4 && m_inputEvent.keyboardModifiers & Fw::KeyboardAltModifier)
return DefWindowProc(hWnd, uMsg, wParam, lParam);
processKeyDown(retranslateVirtualKey(wParam, lParam));
break;
}