[wxPython] to invoke a event handler manually

Hi All,

I first registered a function for EVT_TREE_SEL_CHANGED event in a TreeCtrl.
I wanna invoke this function for a particular treeitem,
from the event handler for some other ctrl, [say maneu item]. Is it possible
do like that.

TIA,
Maharajan.

I first registered a function for EVT_TREE_SEL_CHANGED event in a

TreeCtrl.

I wanna invoke this function for a particular treeitem,
from the event handler for some other ctrl, [say maneu item]. Is it

possible

do like that.

Just call the function. There's nothing special about it, other than it
takes an event object for a parameter.

If you need to have it invoked exactly the same way for some reason then
just create an event object can call
tree.GetEventHandler().ProcessEvent(evt)

ยทยทยท

--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters?
http://wxPython.org Relax with wxPython!