remove automatic selection of the current row/column in row/column selection mode when the current cell is changed using the mouse, this is inconsitent with both cell selection mode and the keyboard behaviour in row/column selection mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
32b4e9ecd7
commit
d8210cd1b3
@ -6143,16 +6143,9 @@ void wxGrid::ProcessGridCellMouseEvent( wxMouseEvent& event )
|
||||
}
|
||||
else
|
||||
{
|
||||
m_waitForSlowClick = m_currentCellCoords == coords && coords != wxGridNoCellCoords;
|
||||
m_waitForSlowClick = m_currentCellCoords == coords &&
|
||||
coords != wxGridNoCellCoords;
|
||||
SetCurrentCell( coords );
|
||||
if ( m_selection )
|
||||
{
|
||||
if ( m_selection->GetSelectionMode() !=
|
||||
wxGrid::wxGridSelectCells )
|
||||
{
|
||||
HighlightBlock( coords, coords );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user