]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/slider.cpp
Actually check if the menu should be shown before popping it up
[wxWidgets.git] / src / univ / slider.cpp
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;
         }