Double Click Evetn in WxTreeCtrl

Hi,

When i double click on a child item in treecontrol, i want to call a
function. Is there an double click event associated with treecontrol?

Thanks in advance.

Hi,

···

On 1 March 2012 14:11, Shansal wrote:

Hi,

When i double click on a child item in treecontrol, i want to call a
function. Is there an double click event associated with treecontrol?

Try with wx.EVT_TREE_ITEM_ACTIVATED.

Andrea.

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

Thank you very much. It works.

···

On Mar 1, 3:13 pm, Andrea Gavana <andrea.gav...@gmail.com> wrote:

Hi,

On 1 March 2012 14:11, Shansal wrote:

> Hi,

> When i double click on a child item in treecontrol, i want to call a
> function. Is there an double click event associated with treecontrol?

Try with wx.EVT_TREE_ITEM_ACTIVATED.

Andrea.

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