Add wxGridSelectNone selection mode
In this mode the user can't select any cells at all in wxGrid.
This commit is contained in:
committed by
Vadim Zeitlin
parent
a64348f3e4
commit
095d1e317c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user