From: Eric K. <eri...@gm...> - 2008-03-16 17:01:21
|
This fixes a bug where treeCtrl only returns one child, I think. Sun Mar 16 16:37:20 GMT 2008 Eric Kow <eri...@gm...> * Simplify treeCtrlGetNextChild2 to use getNextSibling. I'm not entirely sure why the previous implementation was broken (it stopped at the first child, returning an invalid tree id for the subsequent one). I thought perhaps it might have been because we were not passing in the same tree cookie pointer each item, but threading the pointer through via the Cookie type did not seem either. Anyway, I can't see any reason why GetNextSibling would be a bad idea. Sun Mar 16 17:00:05 GMT 2008 Eric Kow <eri...@gm...> * Simplify TreeCtrlTest and move it out of bugs/ |