Franz Steinhaeusler wrote:
> On 8 Mar 2006 04:25:38 -0800, "Iain King" <[EMAIL PROTECTED]> wrote:
> >
> >at the end TestPanel.__init__ I added:
> >
> >self.Bind(wx.EVT_TREE_SEL_CHANGED, self.test, dir1)
> >{...]
>
> Try this instead:
>
> t = dir1.GetTreeCtrl()
> t.Bind(wx.EVT_TREE_SEL_CHANGED, se
On 8 Mar 2006 04:25:38 -0800, "Iain King" <[EMAIL PROTECTED]> wrote:
>
>at the end TestPanel.__init__ I added:
>
>self.Bind(wx.EVT_TREE_SEL_CHANGED, self.test, dir1)
>{...]
Try this instead:
t = dir1.GetTreeCtrl()
t.Bind(wx.EVT_TREE_SEL_CHANGED, self.test)
--
Franz Steinhaeusler
--
http://ma
I can't get these to work, and I can't work out what I'm doing wrong.
I added the following lines to the GenericDirCtrl.py demo in the
wxython demos folder:
at the end TestPanel.__init__ I added:
self.Bind(wx.EVT_TREE_SEL_CHANGED, self.test, dir1)
and also added a test def to the class:
def te