CustomTreeCtrl Style

Hi List

How do i use TR_AUTO_CHECK_CHILD it does not recognize it when i use it as a style with CustomTreeCtrl?
I would like to automatically un check the child items when the parent is unchecked

Thank you
Nic

Attached a random test script
Go info from http://www.wxpython.org/docs/api/wx.lib.agw.customtreectrl-module.html

plch2.py (1.36 KB)

Pass the TR_* styles in the agwStyle parameter instead of the style parameter. See the docstrings in wx.lib.agw.customtreectrl for more details.

···

On 11/17/10 10:07 AM, Nicholas Greyling wrote:

Hi List

How do i use TR_AUTO_CHECK_CHILD it does not recognize it when i use it
as a style with CustomTreeCtrl?
I would like to automatically un check the child items when the parent
is unchecked

--
Robin Dunn
Software Craftsman