Applied patch [ 726350 ] wxGrid - MovePageDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -7920,7 +7920,7 @@ bool wxGrid::MovePageDown()
|
|||||||
if ( m_currentCellCoords == wxGridNoCellCoords ) return FALSE;
|
if ( m_currentCellCoords == wxGridNoCellCoords ) return FALSE;
|
||||||
|
|
||||||
int row = m_currentCellCoords.GetRow();
|
int row = m_currentCellCoords.GetRow();
|
||||||
if ( row < m_numRows )
|
if ( (row+1) < m_numRows )
|
||||||
{
|
{
|
||||||
int cw, ch;
|
int cw, ch;
|
||||||
m_gridWin->GetClientSize( &cw, &ch );
|
m_gridWin->GetClientSize( &cw, &ch );
|
||||||
|
Reference in New Issue
Block a user