fix row/column deselection in row-or-column selection mode (it wasn't doing anything)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -8083,7 +8083,8 @@ void wxGrid::DeselectLine(int line, const wxGridOperations& oper)
|
||||
return;
|
||||
|
||||
const wxGridSelectionModes mode = m_selection->GetSelectionMode();
|
||||
if ( mode == oper.GetSelectionMode() )
|
||||
if ( mode == oper.GetSelectionMode() ||
|
||||
mode == wxGrid::wxGridSelectRowsOrColumns )
|
||||
{
|
||||
const wxGridCellCoords c(oper.MakeCoords(line, 0));
|
||||
if ( m_selection->IsInSelection(c) )
|
||||
|
Reference in New Issue
Block a user