Added support for corner, row and column headers renderers to wxGrid.
Make it possible to customize the appearance of wxGrid corner window and its row and column headers by defining custom renderers for them. Add demonstration of this new feature to the grid sample and update the documentation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -39,7 +39,9 @@ class GridFrame : public wxFrame
|
||||
void ToggleColMoving( wxCommandEvent& );
|
||||
void ToggleGridSizing( wxCommandEvent& );
|
||||
void ToggleGridDragCell ( wxCommandEvent& );
|
||||
void ToggleNativeHeader ( wxCommandEvent& );
|
||||
void SetNativeColHeader ( wxCommandEvent& );
|
||||
void SetCustomColHeader( wxCommandEvent& );
|
||||
void SetDefaultColHeader( wxCommandEvent& );
|
||||
void ToggleGridLines( wxCommandEvent& );
|
||||
void AutoSizeCols( wxCommandEvent& );
|
||||
void CellOverflow( wxCommandEvent& );
|
||||
@@ -121,7 +123,6 @@ public:
|
||||
ID_TOGGLECOLMOVING,
|
||||
ID_TOGGLEGRIDSIZING,
|
||||
ID_TOGGLEGRIDDRAGCELL,
|
||||
ID_TOGGLENATIVEHEADER,
|
||||
ID_TOGGLEGRIDLINES,
|
||||
ID_AUTOSIZECOLS,
|
||||
ID_CELLOVERFLOW,
|
||||
@@ -135,6 +136,9 @@ public:
|
||||
ID_COLLABELALIGN,
|
||||
ID_COLLABELHORIZALIGN,
|
||||
ID_COLLABELVERTALIGN,
|
||||
ID_COLDEFAULTHEADER,
|
||||
ID_COLNATIVEHEADER,
|
||||
ID_COLCUSTOMHEADER,
|
||||
ID_GRIDLINECOLOUR,
|
||||
ID_INSERTROW,
|
||||
ID_INSERTCOL,
|
||||
|
Reference in New Issue
Block a user