Re: [Fxruby-users] bug: descending FXTreeItem causes coredump?
Status: Inactive
Brought to you by:
lyle
From: Kevin B. <kev...@sy...> - 2003-09-30 15:10:55
|
Just did some more testing based on this response: On Tue, 2003-09-30 at 09:47, Lyle Johnson wrote: > Guys, > > Next, I tried using the other > overload of FXTreeList#addItemLast, i.e. > > item = tree.addItemLast(@tree, "... just fine") > item = tree.addItemLast(item, "... choke") > > and this version does *not* crash. This suggests (at least) a couple of > possibilities that I need to investigate. Will let you know as soon as I > have something for you. It ONLY fails if the item selected is a DIRECT subitem of an item added with addItemList(nil, FXTreeItem.new(...)). I.e.: item = tree.addItemLast(nil, '... just fine') item = tree.addItemLast(item, FXTreeItem.new('... just fine')) item = tree.addItemLast(item, '... choke') item = tree.addItemLast(item, '... just fine') Hope that helps! Kevin |