I have another predicament... why does OnSelChanged() get called for
each tree node when the tree is getting destroyed.. I have attached a
script, just run it and close it and the OnSelChanged event handler is
called for each of the tree nodes when the frame is destroyed. Is
this is how it is supposed to work?
Thanks,
-Kartic
···
On 8/3/05, K K <kartic0@gmail.com> wrote:
Francois,
It is something else in the code that is causing it... I believe I
have figured out the problem with SEL_CHANGED event getting triggered
twice.Thanks for your help.
-KarticOn 8/3/05, francois perche <francois.perche@gmail.com> wrote:
> > Do you notice anything suspicious in the set of events?
> No, sorry.
>
> I have checked again ( ie : call SelectItem() from a clicked button )
> and it generate only one event. (ie : EVT_TREE_SEL_CHANGED)
>
> Maybe could you post more code.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
>
>