Commit 359fe440 authored by hybrid's avatar hybrid

Reenable default handling for syskeys, in order to get close window events from alt+f4

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2463 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 8607336e
...@@ -202,7 +202,10 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) ...@@ -202,7 +202,10 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
if (dev) if (dev)
dev->postEventFromUser(event); dev->postEventFromUser(event);
return 0; if (message == WM_SYSKEYDOWN || message == WM_SYSKEYUP)
return DefWindowProc(hWnd, message, wParam, lParam);
else
return 0;
} }
case WM_SIZE: case WM_SIZE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment