Only capture F10, not all system keys

This commit is contained in:
Kingcom 2014-02-24 12:38:52 +01:00
parent 5935572458
commit d8abd04a8e
1 changed files with 6 additions and 2 deletions

View File

@ -106,8 +106,12 @@ WXLRESULT CtrlDisassemblyView::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPA
switch (nMsg)
{
case 0x0104: // WM_SYSKEYDOWN, make f10 usable
postEvent(debEVT_STEPOVER,0);
return 0;
if (wParam == 0x79) // f10
{
postEvent(debEVT_STEPOVER,0);
return 0;
}
break;
}
return wxWindow::MSWWindowProc(nMsg,wParam,lParam);