Roughly show the current selection in the grid sample

Allow to quickly check that cell/block/row/column selection works as expected.

This could be made more detailed, e.g. by dumping all the selected cells/rows/
columns if there are not too many of them, but for now this will do.
This commit is contained in:
Vadim Zeitlin
2016-06-06 01:06:38 +02:00
parent e6a6748eaf
commit a5ecde1314
2 changed files with 35 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ class GridFrame : public wxFrame
void DeleteSelectedRows( wxCommandEvent& );
void DeleteSelectedCols( wxCommandEvent& );
void ClearGrid( wxCommandEvent& );
void ShowSelection( wxCommandEvent& );
void SelectCells( wxCommandEvent& );
void SelectRows( wxCommandEvent& );
void SelectCols( wxCommandEvent& );
@@ -164,6 +165,7 @@ public:
ID_DELETEROW,
ID_DELETECOL,
ID_CLEARGRID,
ID_SHOWSEL,
ID_CHANGESEL,
ID_SELCELLS,
ID_SELROWS,