From 97ca4fe47747f3c9d8f00fa117c6f162ebb14ece Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 6 May 2006 15:17:08 +0000 Subject: [PATCH] re-reversed SB_TOP/BOTTOM undoing rev 1.21 change (still no idea why was it done) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/scrolbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/scrolbar.cpp b/src/msw/scrolbar.cpp index 20a45e346b..f46ad2fa57 100644 --- a/src/msw/scrolbar.cpp +++ b/src/msw/scrolbar.cpp @@ -157,12 +157,12 @@ bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam, int nScrollInc; switch ( wParam ) { - case SB_BOTTOM: + case SB_TOP: nScrollInc = maxPos - position; scrollEvent = wxEVT_SCROLL_TOP; break; - case SB_TOP: + case SB_BOTTOM: nScrollInc = -position; scrollEvent = wxEVT_SCROLL_BOTTOM; break; -- 2.45.2