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:
@@ -8040,7 +8040,7 @@ wxGrid::DoMoveCursorByPage(const wxKeyboardState& kbdState,
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ( m_selection->ExtendCurrentBlock(m_currentCellCoords, coords, kbdState) )
|
if ( m_selection->ExtendCurrentBlock(m_currentCellCoords, coords, kbdState) )
|
||||||
MakeCellVisible(coords);
|
MakeCellVisible(diroper.MakeWholeLineCoords(coords));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user