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

@@ -1457,7 +1457,8 @@ public:
wxGridSelectCells = 0, // allow selecting anything
wxGridSelectRows = 1, // allow selecting only entire rows
wxGridSelectColumns = 2, // allow selecting only entire columns
wxGridSelectRowsOrColumns = wxGridSelectRows | wxGridSelectColumns
wxGridSelectRowsOrColumns = wxGridSelectRows | wxGridSelectColumns,
wxGridSelectNone = 4 // disallow selecting anything
};
// Different behaviour of the TAB key when the end (or the beginning, for