X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/733f486aac7f5d92f902d6041338cd6e1bc7d99d..fe56965b7f6e27a5d10b805e82c9bf41ed8055fc:/samples/grid/griddemo.h diff --git a/samples/grid/griddemo.h b/samples/grid/griddemo.h index ba0b549477..fdd0a06a28 100644 --- a/samples/grid/griddemo.h +++ b/samples/grid/griddemo.h @@ -39,6 +39,7 @@ class GridFrame : public wxFrame void ToggleColMoving( wxCommandEvent& ); void ToggleGridSizing( wxCommandEvent& ); void ToggleGridDragCell ( wxCommandEvent& ); + void ToggleNativeHeader ( wxCommandEvent& ); void ToggleGridLines( wxCommandEvent& ); void AutoSizeCols( wxCommandEvent& ); void CellOverflow( wxCommandEvent& ); @@ -63,6 +64,7 @@ class GridFrame : public wxFrame void SelectCells( wxCommandEvent& ); void SelectRows( wxCommandEvent& ); void SelectCols( wxCommandEvent& ); + void SelectRowsOrCols( wxCommandEvent& ); void DeselectCell(wxCommandEvent& event); void DeselectCol(wxCommandEvent& event); @@ -89,6 +91,7 @@ class GridFrame : public wxFrame void OnColSize( wxGridSizeEvent& ); void OnSelectCell( wxGridEvent& ); void OnRangeSelected( wxGridRangeSelectEvent& ); + void OnCellValueChanging( wxGridEvent& ); void OnCellValueChanged( wxGridEvent& ); void OnCellBeginDrag( wxGridEvent& ); @@ -106,7 +109,7 @@ public: void About( wxCommandEvent& ); void OnVTable( wxCommandEvent& ); void OnBugsTable( wxCommandEvent& ); - void OnSmallGrid( wxCommandEvent& ); + void OnTabularTable( wxCommandEvent& ); enum { @@ -118,6 +121,7 @@ public: ID_TOGGLECOLMOVING, ID_TOGGLEGRIDSIZING, ID_TOGGLEGRIDDRAGCELL, + ID_TOGGLENATIVEHEADER, ID_TOGGLEGRIDLINES, ID_AUTOSIZECOLS, ID_CELLOVERFLOW, @@ -141,11 +145,12 @@ public: ID_SELCELLS, ID_SELROWS, ID_SELCOLS, + ID_SELROWSORCOLS, ID_SET_CELL_FG_COLOUR, ID_SET_CELL_BG_COLOUR, ID_VTABLE, ID_BUGS_TABLE, - ID_SMALL_GRID, + ID_TABULAR_TABLE, ID_SELECT_UNSELECT, ID_SHOW_SELECTION, ID_SELECT_ALL, @@ -249,7 +254,7 @@ private: class BugsGridTable : public wxGridTableBase { public: - BugsGridTable(){}; + BugsGridTable() { } virtual int GetNumberRows(); virtual int GetNumberCols();