- Fixed: Alt+F4 no longer quit the program.
SVN r1888 (trunk)
This commit is contained in:
parent
9aab795c18
commit
ed8f1ec8db
4 changed files with 14 additions and 6 deletions
|
|
@ -431,6 +431,11 @@ LRESULT CALLBACK WndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
ToggleFullscreen = !ToggleFullscreen;
|
||||
}
|
||||
// Pressing Alt+F4 quits the program.
|
||||
if (wParam == VK_F4 && !(lParam & 0x40000000))
|
||||
{
|
||||
PostQuitMessage(0);
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_SYSCOMMAND:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue