SelectCell forgot to pass ControlDown & Co to SelectBlock in row/column
selection mode. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -517,12 +517,14 @@ void wxGridSelection::SelectCell( int row, int col,
|
|||||||
{
|
{
|
||||||
if ( m_selectionMode == wxGrid::wxGridSelectRows )
|
if ( m_selectionMode == wxGrid::wxGridSelectRows )
|
||||||
{
|
{
|
||||||
SelectBlock(row, 0, row, m_grid->GetNumberCols() - 1 );
|
SelectBlock(row, 0, row, m_grid->GetNumberCols() - 1,
|
||||||
|
ControlDown, ShiftDown, AltDown, MetaDown);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if ( m_selectionMode == wxGrid::wxGridSelectColumns )
|
else if ( m_selectionMode == wxGrid::wxGridSelectColumns )
|
||||||
{
|
{
|
||||||
SelectBlock(0, col, m_grid->GetNumberRows() - 1, col );
|
SelectBlock(0, col, m_grid->GetNumberRows() - 1, col,
|
||||||
|
ControlDown, ShiftDown, AltDown, MetaDown);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if ( IsInSelection ( row, col ) )
|
else if ( IsInSelection ( row, col ) )
|
||||||
|
Reference in New Issue
Block a user