From: Barrie S. <ba...@sl...> - 2006-12-16 19:18:15
|
Mark Wardell wrote: > Hi Barrie, > > I tried to amend the Demo to attempt to use events but I got an error. > > EVT_TREE_SEL_CHANGED( $tree, $tree, \&OnSelChange ); > > Can't locate object method "Connect" via package "Wx::TreeListCtrl" > > I am not sure what to do here, perhaps somebody else has some ideas? > I think your first $tree should be $self (assuming $self isa Wx::Frame); it's the Frame that does the Connect(). Thanks for looking at this! - Barrie |