Merge branch 'listbox_sortable' of https://github.com/beru/nana into beru-listbox_sortable

This commit is contained in:
Jinhao
2015-05-02 03:04:27 +08:00
2 changed files with 26 additions and 2 deletions

View File

@@ -553,7 +553,10 @@ By \a clicking on a header the list get \a reordered, first up, and then down al
_m_ease_key(&key);
}
///Sets a strict weak ordering comparer for a column
bool sortable() const;
void sortable(bool enable);
///Sets a strict weak ordering comparer for a column
void set_sort_compare(size_type col, std::function<bool(const nana::string&, nana::any*,
const nana::string&, nana::any*, bool reverse)> strick_ordering);