On 8 Mar 2006 04:25:38 -0800, "Iain King" <iainking at gmail.com> 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