X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/779e28da630ef9fba6441fb0bab01cd538a7e7bb..fa699cbaaf217af186cd04dd10d6ec67c8667136:/samples/grid/griddemo.h?ds=sidebyside diff --git a/samples/grid/griddemo.h b/samples/grid/griddemo.h index 401553a2ba..749b06784f 100644 --- a/samples/grid/griddemo.h +++ b/samples/grid/griddemo.h @@ -42,6 +42,8 @@ class GridFrame : public wxFrame void SetNativeColHeader ( wxCommandEvent& ); void SetCustomColHeader( wxCommandEvent& ); void SetDefaultColHeader( wxCommandEvent& ); + void SetTabBehaviour( wxCommandEvent& ); + void SetTabCustomHandler( wxCommandEvent& ); void ToggleGridLines( wxCommandEvent& ); void AutoSizeCols( wxCommandEvent& ); void CellOverflow( wxCommandEvent& ); @@ -86,10 +88,17 @@ class GridFrame : public wxFrame void AutoSizeLabelsRow(wxCommandEvent& event); void AutoSizeTable(wxCommandEvent& event); + void HideCol(wxCommandEvent& event); + void ShowCol(wxCommandEvent& event); + void HideRow(wxCommandEvent& event); + void ShowRow(wxCommandEvent& event); + + void OnLabelLeftClick( wxGridEvent& ); void OnCellLeftClick( wxGridEvent& ); void OnRowSize( wxGridSizeEvent& ); void OnColSize( wxGridSizeEvent& ); + void OnColAutoSize( wxGridSizeEvent& ); void OnSelectCell( wxGridEvent& ); void OnRangeSelected( wxGridRangeSelectEvent& ); void OnCellValueChanging( wxGridEvent& ); @@ -102,6 +111,8 @@ class GridFrame : public wxFrame void OnSetHighlightWidth(wxCommandEvent&); void OnSetROHighlightWidth(wxCommandEvent&); + void OnGridCustomTab(wxGridEvent& event); + public: GridFrame(); ~GridFrame(); @@ -127,6 +138,10 @@ public: ID_TOGGLEGRIDLINES, ID_AUTOSIZECOLS, ID_CELLOVERFLOW, + ID_HIDECOL, + ID_SHOWCOL, + ID_HIDEROW, + ID_SHOWROW, ID_RESIZECELL, ID_SETLABELCOLOUR, ID_SETLABELTEXTCOLOUR, @@ -140,6 +155,10 @@ public: ID_COLDEFAULTHEADER, ID_COLNATIVEHEADER, ID_COLCUSTOMHEADER, + ID_TAB_STOP, + ID_TAB_WRAP, + ID_TAB_LEAVE, + ID_TAB_CUSTOM, ID_GRIDLINECOLOUR, ID_INSERTROW, ID_INSERTCOL,