From 5b52d6c752020c50e2e8846f0a577dc6a8fa2fe4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 23 Sep 2014 17:41:42 +0000 Subject: [PATCH] Make sure the behaviour of slider in wxUniv is consistent with other ports, left to min, right to max git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/slider.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/univ/slider.cpp b/src/univ/slider.cpp index 34450b469a..b0d4735ff7 100644 --- a/src/univ/slider.cpp +++ b/src/univ/slider.cpp @@ -1019,12 +1019,12 @@ bool wxStdSliderInputHandler::HandleKey(wxInputConsumer *consumer, action = wxACTION_SLIDER_START; break; - case WXK_RIGHT: + case WXK_LEFT: case WXK_UP: action = wxACTION_SLIDER_LINE_UP; break; - case WXK_LEFT: + case WXK_RIGHT: case WXK_DOWN: action = wxACTION_SLIDER_LINE_DOWN; break;