diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 0ad120676e..d08969bc48 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -8040,7 +8040,7 @@ wxGrid::DoMoveCursorByPage(const wxKeyboardState& kbdState, return false; if ( m_selection->ExtendCurrentBlock(m_currentCellCoords, coords, kbdState) ) - MakeCellVisible(coords); + MakeCellVisible(diroper.MakeWholeLineCoords(coords)); } else {