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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user