X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/91b073576e8fd216c71acacf5c1495e1a56dd39f..b0b96f667dbc2fc2d3ebaa342c50bdea10f84a91:/samples/grid/griddemo.h diff --git a/samples/grid/griddemo.h b/samples/grid/griddemo.h index f2ff5c4af0..285a4ac23e 100644 --- a/samples/grid/griddemo.h +++ b/samples/grid/griddemo.h @@ -28,7 +28,6 @@ class GridFrame : public wxFrame wxTextCtrl *logWin; wxLogTextCtrl *logger; #endif // wxUSE_LOG - wxString logBuf; void SetDefaults(); @@ -37,6 +36,7 @@ class GridFrame : public wxFrame void ToggleEditing( wxCommandEvent& ); void ToggleRowSizing( wxCommandEvent& ); void ToggleColSizing( wxCommandEvent& ); + void ToggleColMoving( wxCommandEvent& ); void ToggleGridSizing( wxCommandEvent& ); void ToggleGridDragCell ( wxCommandEvent& ); void ToggleGridLines( wxCommandEvent& ); @@ -73,6 +73,7 @@ class GridFrame : public wxFrame void SelectRow(wxCommandEvent& event); void SelectAll(wxCommandEvent& event); void OnAddToSelectToggle(wxCommandEvent& event); + void OnShowSelection(wxCommandEvent& event); void OnLabelLeftClick( wxGridEvent& ); void OnCellLeftClick( wxGridEvent& ); @@ -106,6 +107,7 @@ public: ID_TOGGLEEDIT, ID_TOGGLEROWSIZING, ID_TOGGLECOLSIZING, + ID_TOGGLECOLMOVING, ID_TOGGLEGRIDSIZING, ID_TOGGLEGRIDDRAGCELL, ID_TOGGLEGRIDLINES, @@ -137,6 +139,7 @@ public: ID_BUGS_TABLE, ID_SMALL_GRID, ID_SELECT_UNSELECT, + ID_SHOW_SELECTION, ID_SELECT_ALL, ID_SELECT_ROW, ID_SELECT_COL,