ValuePairOrder and new TreeCtrl sorting options; fixed sorting in ide helpwindow

git-svn-id: svn://ultimatepp.org/upp/trunk@476 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2008-09-23 10:18:59 +00:00
parent 97132342e4
commit 476a36c845
10 changed files with 467 additions and 60 deletions

View file

@ -154,6 +154,17 @@ void HelpWindow::SortTree(int id)
tree.SortDeep(id);
}
void HelpWindow::SortTree(int id, int (*cmp)(const Value& v1, const Value& v2))
{
tree.SortDeep(id, cmp);
}
void HelpWindow::SortTree(int id, int (*cmp)(const Value& k1, const Value& v1,
const Value& k2, const Value& v2))
{
tree.SortDeep(id, cmp);
}
void HelpWindow::FinishTree()
{
tree.FindSetCursor(topic);