wxAlignment align = wxALIGN_CENTER,
int flags = wxDATAVIEW_COL_RESIZABLE );
- virtual ~wxDataViewColumn();
-
// setters:
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 );
virtual bool IsSortable() const;
virtual bool IsSortOrderAscending() const;
+ virtual bool IsSortKey() const;
+
virtual bool IsResizeable() const;
virtual bool IsHidden() const;
bool m_isConnected;
void Init(wxAlignment align, int flags, int width);
-
-protected:
- DECLARE_DYNAMIC_CLASS_NO_COPY(wxDataViewColumn)
};
WX_DECLARE_LIST_WITH_DECL(wxDataViewColumn, wxDataViewColumnList,
virtual void Expand( const wxDataViewItem & item );
virtual void Collapse( const wxDataViewItem & item );
+ virtual bool IsExpanded( const wxDataViewItem & item ) const;
+
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);