Add wxGridSelectNone selection mode

In this mode the user can't select any cells at all in wxGrid.
This commit is contained in:
Gary Allen
2020-10-22 13:04:23 +02:00
committed by Vadim Zeitlin
parent a64348f3e4
commit 095d1e317c
4 changed files with 49 additions and 6 deletions

View File

@@ -4631,6 +4631,7 @@ wxGrid::DoGridCellLeftDown(wxMouseEvent& event,
// mode and is compatible with 2.8 behaviour (see #12062).
switch ( m_selection->GetSelectionMode() )
{
case wxGridSelectNone:
case wxGridSelectCells:
case wxGridSelectRowsOrColumns:
// nothing to do in these cases