From 233da17eb29f00833a25d48e4d749ea722c9679f Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Mon, 27 Mar 2000 12:13:13 +0000 Subject: [PATCH] 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 --- src/generic/gridsel.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/generic/gridsel.cpp b/src/generic/gridsel.cpp index d3d2222a0d..4566660ebf 100644 --- a/src/generic/gridsel.cpp +++ b/src/generic/gridsel.cpp @@ -517,12 +517,14 @@ void wxGridSelection::SelectCell( int row, int col, { 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; } 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; } else if ( IsInSelection ( row, col ) )