- 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:
@@ -300,8 +300,6 @@ public:
|
||||
wxAlignment align = wxALIGN_CENTER,
|
||||
int flags = wxDATAVIEW_COL_RESIZABLE );
|
||||
|
||||
virtual ~wxDataViewColumn();
|
||||
|
||||
|
||||
// setters:
|
||||
|
||||
@@ -314,6 +312,7 @@ public:
|
||||
|
||||
virtual void SetSortable( bool sortable );
|
||||
virtual void SetSortOrder( bool ascending );
|
||||
virtual void SetAsSortKey(bool sort = true);
|
||||
|
||||
virtual void SetResizeable( bool resizeable );
|
||||
virtual void SetHidden( bool hidden );
|
||||
@@ -332,6 +331,8 @@ public:
|
||||
|
||||
virtual bool IsSortable() const;
|
||||
virtual bool IsSortOrderAscending() const;
|
||||
virtual bool IsSortKey() const = 0;
|
||||
|
||||
virtual bool IsResizeable() const;
|
||||
virtual bool IsHidden() const;
|
||||
|
||||
|
Reference in New Issue
Block a user