mt bug 2283 fix

This commit is contained in:
Michaël Banaan Ananas 2011-01-04 19:42:50 +00:00
parent 9e5207ce91
commit 6f5c23de2b

View File

@ -1329,6 +1329,10 @@ static LRESULT CALLBACK debugwin_view_proc(HWND wnd, UINT message, WPARAM wparam
} }
// keydown: handle debugger keys // keydown: handle debugger keys
case WM_SYSKEYDOWN:
if (wparam != VK_F10)
return DefWindowProc(wnd, message, wparam, lparam);
// (fall through)
case WM_KEYDOWN: case WM_KEYDOWN:
{ {
if ((*info->owner->handle_key)(info->owner, wparam, lparam)) if ((*info->owner->handle_key)(info->owner, wparam, lparam))
@ -1496,6 +1500,10 @@ static LRESULT CALLBACK debugwin_edit_proc(HWND wnd, UINT message, WPARAM wparam
switch (message) switch (message)
{ {
// key down: handle navigation in the attached view // key down: handle navigation in the attached view
case WM_SYSKEYDOWN:
if (wparam != VK_F10)
return CallWindowProc(info->original_editproc, wnd, message, wparam, lparam);
// (fall through)
case WM_KEYDOWN: case WM_KEYDOWN:
switch (wparam) switch (wparam)
{ {