From: Julian Smart Date: Sat, 3 May 2003 15:17:38 +0000 (+0000) Subject: Applied patch [ 726350 ] wxGrid - MovePageDown() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4b8f49129801403f12a3b840077841d268b080f9 Applied patch [ 726350 ] wxGrid - MovePageDown() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index d0d1412abf..df8ef76582 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -8030,7 +8030,7 @@ bool wxGrid::MovePageDown() if ( m_currentCellCoords == wxGridNoCellCoords ) return FALSE; int row = m_currentCellCoords.GetRow(); - if ( row < m_numRows ) + if ( (row+1) < m_numRows ) { int cw, ch; m_gridWin->GetClientSize( &cw, &ch );