Disable specific items in ComboTreeList

When using a ComboTreeList, it is possible to disable selecting specific items?

Currently, I have a wx.Choice full of departments, and another full of
positions. When a user chooses a department, the list of positions
changes to reflect the positions that belong to that department (many
positions to one department.) This would be, I think, much more
user-friendly as a tree. I need to ensure, however, that the user can
only choose a position from the hierarchy, and not a department.

Any ideas?

Thanks,
Jeff

Hi Jeff,

ยทยทยท

2008/12/17 Jeff Fein-Worton <jeff.fw@gmail.com>:

When using a ComboTreeList, it is possible to disable selecting specific items?

I cannot find ComboTreeList. Did you mean
wx.lib.combotreebox.ComboTreeBox? If so, you can get at the TreeCtrl
using comboxtreebox.GetTree().

Cheers, Frank