fixes to WXK_PRIOR/WXK_PAGEUP handling in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ca5b5b49c8
commit
187c183c6a
@ -1255,7 +1255,9 @@ bool wxStdListboxInputHandler::HandleKey(wxInputConsumer *consumer,
|
||||
// movement
|
||||
case WXK_UP: action = wxACTION_LISTBOX_MOVEUP; break;
|
||||
case WXK_DOWN: action = wxACTION_LISTBOX_MOVEDOWN; break;
|
||||
case WXK_PAGEUP:
|
||||
case WXK_PRIOR: action = wxACTION_LISTBOX_PAGEUP; break;
|
||||
case WXK_PAGEDOWN:
|
||||
case WXK_NEXT: action = wxACTION_LISTBOX_PAGEDOWN; break;
|
||||
case WXK_HOME: action = wxACTION_LISTBOX_START; break;
|
||||
case WXK_END: action = wxACTION_LISTBOX_END; break;
|
||||
|
@ -675,7 +675,9 @@ bool wxStdScrollBarInputHandler::HandleKey(wxInputConsumer *consumer,
|
||||
case WXK_LEFT: action = wxACTION_SCROLL_LINE_UP; break;
|
||||
case WXK_HOME: action = wxACTION_SCROLL_START; break;
|
||||
case WXK_END: action = wxACTION_SCROLL_END; break;
|
||||
case WXK_PAGEUP:
|
||||
case WXK_PRIOR: action = wxACTION_SCROLL_PAGE_UP; break;
|
||||
case WXK_PAGEDOWN:
|
||||
case WXK_NEXT: action = wxACTION_SCROLL_PAGE_DOWN; break;
|
||||
}
|
||||
|
||||
|
@ -946,10 +946,12 @@ bool wxStdSliderButtonInputHandler::HandleKey(wxInputConsumer *consumer,
|
||||
break;
|
||||
|
||||
case WXK_PRIOR:
|
||||
case WXK_PAGEUP:
|
||||
action = wxACTION_SLIDER_PAGE_UP;
|
||||
break;
|
||||
|
||||
case WXK_NEXT:
|
||||
case WXK_PAGEDOWN:
|
||||
action = wxACTION_SLIDER_PAGE_DOWN;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user