Avoid horizontal scrolling when pressing Shift-Page Up/Down
Scroll the new end of selection into view only vertically, it would be unexpected for the vertical Page Up/Down movement to scroll the grid horizontally.
This commit is contained in:
parent
033f006722
commit
62cb90b455
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user