Add a menu item to start editing the cell to grid sample

Show that this is done using EnableCellEditControl() and not
ShowCellEditControl(), as might have been expected.
This commit is contained in:
Vadim Zeitlin
2019-10-12 17:46:18 +02:00
parent 18c9d7375b
commit b66a4b9948
2 changed files with 9 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ class GridFrame : public wxFrame
void DeleteSelectedRows( wxCommandEvent& );
void DeleteSelectedCols( wxCommandEvent& );
void ClearGrid( wxCommandEvent& );
void EditCell( wxCommandEvent& );
void SetCornerLabelValue( wxCommandEvent& );
void ShowSelection( wxCommandEvent& );
void SelectCells( wxCommandEvent& );
@@ -179,6 +180,7 @@ public:
ID_DELETEROW,
ID_DELETECOL,
ID_CLEARGRID,
ID_EDITCELL,
ID_SETCORNERLABEL,
ID_SHOWSEL,
ID_CHANGESEL,