CustomTreeCtrl API inconsistency

Hi Andrea,

CustomTreeCtrl.ExpandAll takes one mandatory argument (the item to
recursively expand) while TreeCtrl.ExpandAll takes no arguments.

Cheers, Frank

I think CustomTreeCtrl.ExpandAll should be renamed ExpandAllChildren
and a method ExpandAll that takes no arguments should be added, for
maximum consistency with the TreeCtrl API.

Cheers, Frank

···

2007/2/17, Frank Niessink <frank@niessink.com>:

Hi Andrea,

CustomTreeCtrl.ExpandAll takes one mandatory argument (the item to
recursively expand) while TreeCtrl.ExpandAll takes no arguments.

Hi Frank,

···

On 2/17/07, Frank Niessink wrote:

2007/2/17, Frank Niessink wrote:
> Hi Andrea,
>
> CustomTreeCtrl.ExpandAll takes one mandatory argument (the item to
> recursively expand) while TreeCtrl.ExpandAll takes no arguments.

I think CustomTreeCtrl.ExpandAll should be renamed ExpandAllChildren
and a method ExpandAll that takes no arguments should be added, for
maximum consistency with the TreeCtrl API.

Thank you for this inconsistency report: I think I have to work a bit
on CustomTreeCtrl to include all the patches mentioned till now, and
I'll do it as soon as I get some spare time.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/