Guest User

wxperl wxTreeListCtrl::DeleteAllItems usage?

a guest
Dec 5th, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.26 KB | None | 0 0
  1. my $simobject_tree = $self->{simobject_tree} = Wx::TreeListCtrl->new( $self, -1, [-1,-1],[500,200]);
  2. ...
  3. #later in a "refresh" method that gets called after user actions
  4. my $simobject_tree = $self->{simobject_tree};
  5. $simobject_tree->DeleteAllItems; # segfault!
Advertisement
Add Comment
Please, Sign In to add comment