- Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
number of columns in it, it turns out that getting column information from the associated control is much easier than copying it into the control. - Provide wxHeaderCtrlSimple derived class which can be used easily if callback approach of wxHeaderCtrl is not needed. - Because of wxHeaderCtrl virtualization, port-specific implementations of wxHeaderColumn are not needed any more and were removed. - Use wxHeaderCtrl in the generic wxDataViewCtrl: this means that column events are broken right now in it as they haven't been implemented by wxHeaderCtrl yet, this will be fixed a.s.a.p. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,19 +75,6 @@ private:
|
||||
// refresh all the controls starting from (and including) the given one
|
||||
void RefreshColsAfter(unsigned int idx);
|
||||
|
||||
// all our current columns
|
||||
typedef wxVector<wxHeaderColumn> Columns;
|
||||
Columns m_cols;
|
||||
|
||||
// sorting indicators for the columns: our API is such that it allows using
|
||||
// multiple columns for sorting, and even if this is not used anywhere in
|
||||
// practice right now, still support this
|
||||
//
|
||||
// the values are interpreted in the same way as ShowSortIndicator()
|
||||
// sortOrder parameter: true/false for ascending/descending sort if the
|
||||
// corresponding column is used for sorting or -1 otherwise
|
||||
wxVector<int> m_sortOrders;
|
||||
|
||||
// index of the column under mouse or -1 if none
|
||||
unsigned int m_hover;
|
||||
|
||||
|
Reference in New Issue
Block a user