]>
git.saurik.com Git - wxWidgets.git/blob - samples/newgrid/griddemo.h
651d40112fdd616a07c56db7b21d30f05ccf0383
13 class GridApp
: public wxApp
20 class GridFrame
: public wxFrame
24 wxLogTextCtrl
*logger
;
28 void ToggleRowLabels( wxCommandEvent
& );
29 void ToggleColLabels( wxCommandEvent
& );
30 void ToggleControlPanel( wxCommandEvent
& );
31 void ToggleCellEdit( wxCommandEvent
& );
32 void SetLabelColour( wxCommandEvent
& );
33 void SetLabelTextColour( wxCommandEvent
& );
34 void SetRowLabelHorizAlignment( wxCommandEvent
& );
35 void SetRowLabelVertAlignment( wxCommandEvent
& );
36 void SetColLabelHorizAlignment( wxCommandEvent
& );
37 void SetColLabelVertAlignment( wxCommandEvent
& );
38 void SetGridLineColour( wxCommandEvent
& );
39 void ClearGrid( wxCommandEvent
& );
41 void About( wxCommandEvent
& );
43 void OnLabelLeftClick( wxGridEvent
& );
44 void OnCellLeftClick( wxGridEvent
& );
45 void OnRowSize( wxGridSizeEvent
& );
46 void OnColSize( wxGridSizeEvent
& );
47 void OnRangeSelected( wxGridRangeSelectEvent
& );
48 void OnCellValueChanged( wxGridEvent
& );
54 void OnSize( wxSizeEvent
& );
55 void OnQuit( wxCommandEvent
& );
57 enum { ID_TOGGLEROWLABELS
= 100,
59 ID_TOGGLECONTROLPANEL
,
62 ID_SETLABELTEXTCOLOUR
,
64 ID_ROWLABELHORIZALIGN
,
67 ID_COLLABELHORIZALIGN
,