Closed GoogleCodeExporter closed 9 years ago
Sorry, this defect got lost in my mailbox. I'm actually not sure what the fix
was last time either. The only thing I
changed in the sorting defect was the OnCompareItems method of MyTreeCtrl. I
then added SortChildren calls
where needed. Looking at issue 41, that looks like it might be the problem.
In that issue, you mention that
SortChildren was causing the problem. This must be a bug in the wx tree
control on Windows.
Original comment by Kevin.Da...@gmail.com
on 10 Jun 2008 at 2:46
Ok should be fixed now,
I moved all the node creation to the an TREE_ITEM_EXPANDING handler instead of
the
ITEM_EXPANDED handler. Windows seems to have a problem with calling
SortChildren in
an ITEM_EXPANDED handler but does not exhibit this issue in the EXPANDING one.
No
other behavior changes observed from this change on other platforms.
Original comment by CodyPrec...@gmail.com
on 4 Jul 2008 at 8:45
Move old 'fixed' issues to verified
Original comment by CodyPrec...@gmail.com
on 3 Feb 2009 at 8:18
Original issue reported on code.google.com by
CodyPrec...@gmail.com
on 4 Jun 2008 at 1:05