]> git.saurik.com Git - wxWidgets.git/commitdiff
fixes to WXK_PRIOR/WXK_PAGEUP handling in wxUniv
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 27 Jan 2002 23:38:53 +0000 (23:38 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 27 Jan 2002 23:38:53 +0000 (23:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/listbox.cpp
src/univ/scrolbar.cpp
src/univ/slider.cpp

index a4eda3e861b9d905667adbb23405c1440520a125..37fe1fbd72fef07519e04321bd44838de2478c48 100644 (file)
@@ -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;
index ba6e499d571f4e67ac4947133b21e371a685e622..4445239eb97b64e196393ae12358a91cde27a2e8 100644 (file)
@@ -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;
         }
 
index bae3e993b51f7760253d1b419ec3273fd0a52816..8361ab7d543a3b6221fc64805c1a46b66ed995d0 100644 (file)
@@ -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;
         }