the handling of Home/End in wxScrollBar was reversed -- fixed now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1d1b75ace9
commit
a29ffc34c0
@ -139,12 +139,12 @@ bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam,
|
|||||||
int nScrollInc;
|
int nScrollInc;
|
||||||
switch ( wParam )
|
switch ( wParam )
|
||||||
{
|
{
|
||||||
case SB_TOP:
|
case SB_BOTTOM:
|
||||||
nScrollInc = maxPos - position;
|
nScrollInc = maxPos - position;
|
||||||
scrollEvent = wxEVT_SCROLL_TOP;
|
scrollEvent = wxEVT_SCROLL_TOP;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SB_BOTTOM:
|
case SB_TOP:
|
||||||
nScrollInc = -position;
|
nScrollInc = -position;
|
||||||
scrollEvent = wxEVT_SCROLL_BOTTOM;
|
scrollEvent = wxEVT_SCROLL_BOTTOM;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user