Recognize the numpad cursor keys too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ab718f6e4c
commit
340515d36d
@ -917,6 +917,12 @@ int ScintillaWX::DoKeyDown(const wxKeyEvent& evt, bool* consumed)
|
||||
case WXK_END: key = SCK_END; break;
|
||||
case WXK_PAGEUP: key = SCK_PRIOR; break;
|
||||
case WXK_PAGEDOWN: key = SCK_NEXT; break;
|
||||
case WXK_NUMPAD_DOWN: key = SCK_DOWN; break;
|
||||
case WXK_NUMPAD_UP: key = SCK_UP; break;
|
||||
case WXK_NUMPAD_LEFT: key = SCK_LEFT; break;
|
||||
case WXK_NUMPAD_RIGHT: key = SCK_RIGHT; break;
|
||||
case WXK_NUMPAD_HOME: key = SCK_HOME; break;
|
||||
case WXK_NUMPAD_END: key = SCK_END; break;
|
||||
case WXK_NUMPAD_PAGEUP: key = SCK_PRIOR; break;
|
||||
case WXK_NUMPAD_PAGEDOWN: key = SCK_NEXT; break;
|
||||
case WXK_DELETE: key = SCK_DELETE; break;
|
||||
|
@ -917,6 +917,12 @@ int ScintillaWX::DoKeyDown(const wxKeyEvent& evt, bool* consumed)
|
||||
case WXK_END: key = SCK_END; break;
|
||||
case WXK_PAGEUP: key = SCK_PRIOR; break;
|
||||
case WXK_PAGEDOWN: key = SCK_NEXT; break;
|
||||
case WXK_NUMPAD_DOWN: key = SCK_DOWN; break;
|
||||
case WXK_NUMPAD_UP: key = SCK_UP; break;
|
||||
case WXK_NUMPAD_LEFT: key = SCK_LEFT; break;
|
||||
case WXK_NUMPAD_RIGHT: key = SCK_RIGHT; break;
|
||||
case WXK_NUMPAD_HOME: key = SCK_HOME; break;
|
||||
case WXK_NUMPAD_END: key = SCK_END; break;
|
||||
case WXK_NUMPAD_PAGEUP: key = SCK_PRIOR; break;
|
||||
case WXK_NUMPAD_PAGEDOWN: key = SCK_NEXT; break;
|
||||
case WXK_DELETE: key = SCK_DELETE; break;
|
||||
|
Loading…
Reference in New Issue
Block a user