git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6527
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
szx, szy, // view size (total)
clix, cliy; // view size (on screen)
szx, szy, // view size (total)
clix, cliy; // view size (on screen)
ViewStart(&stx, &sty);
GetClientSize(&clix, &cliy);
GetVirtualSize(&szx, &szy);
ViewStart(&stx, &sty);
GetClientSize(&clix, &cliy);
GetVirtualSize(&szx, &szy);
{
case WXK_PAGEUP:
case WXK_PRIOR:
{
case WXK_PAGEUP:
case WXK_PRIOR:
- int y = sty - (5 * cliy / 6);
+ y = sty - (5 * cliy / 6);
Scroll(-1, (y == -1) ? 0 : y);
break;
Scroll(-1, (y == -1) ? 0 : y);
break;