wxCheckBox in wxTreeCtrl

Hi,

I would like to know if it's possible to get
wxCheckBox as items a wxTreeCtrl. If it's
possible, could anyone send me a sample ?

Thanks in advance.
Regards

Seb

···

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org

Not exactly. What I've done is to create bitmaps for the checked and
unchecked states, and use them as the bitmaps for the tree nodes.
Then you just have to detect the mouse click on the bitmap and update
its state accordingly.

···

On Fri, Sep 19, 2003 at 02:16:43PM +0200, Sebastien Hugues wrote:

I would like to know if it's possible to get
wxCheckBox as items a wxTreeCtrl. If it's
possible, could anyone send me a sample ?

--
Tim Lesher <tim@lesher.ws>
http://www.lesher.ws