Allow really using wxHeaderCtrl in the grid sample
The "Native" menu item actually only toggled drawing native-lookalike labels, but didn't use wxHeaderCtrl as could be expected. Rename the existing menu item to "Native-like" and add the new "Native" one which really enables the use of wxHeaderCtrl.
This commit is contained in:
@@ -39,6 +39,7 @@ class GridFrame : public wxFrame
|
||||
void ToggleGridSizing( wxCommandEvent& );
|
||||
void ToggleGridDragCell ( wxCommandEvent& );
|
||||
void SetNativeColHeader ( wxCommandEvent& );
|
||||
void SetNativeColLabels ( wxCommandEvent& );
|
||||
void SetCustomColHeader( wxCommandEvent& );
|
||||
void SetDefaultColHeader( wxCommandEvent& );
|
||||
void SetTabBehaviour( wxCommandEvent& );
|
||||
@@ -162,6 +163,7 @@ public:
|
||||
ID_CORNERLABELORIENTATION,
|
||||
ID_COLDEFAULTHEADER,
|
||||
ID_COLNATIVEHEADER,
|
||||
ID_COLNATIVELABELS,
|
||||
ID_COLCUSTOMHEADER,
|
||||
ID_TAB_STOP,
|
||||
ID_TAB_WRAP,
|
||||
|
Reference in New Issue
Block a user