virtual void SetResizeable( bool resizeable );
virtual void SetHidden( bool hidden );
virtual void SetSortOrder( bool ascending );
-
+ virtual void SetReorderable( bool reorderable );
// getters:
virtual bool IsHidden() const
{ return (m_flags & wxDATAVIEW_COL_HIDDEN) != 0; }
virtual bool IsSortOrderAscending() const;
-
+ virtual bool IsReorderable() const
+ { return (m_flags & wxDATAVIEW_COL_REORDERABLE) != 0; }
private:
int m_width;
return GetClientSize().GetWidth() / GetColumnCount();
}
+ // called by header window after reorder
+ void ColumnMoved( wxDataViewColumn* col, unsigned int new_pos );
+
// updates the header window after a change in a column setting
void OnColumnChange();