Re: [Fxruby-users] bug: descending FXTreeItem causes coredump?
Status: Inactive
Brought to you by:
lyle
|
From: Lyle J. <jl...@cf...> - 2003-09-30 14:31:53
|
Joel VanderWerf wrote:
>
> Kevin Burge wrote:
>
>> To All,
>>
>> I'm having a problem with using descedants of FXTreeItem. Whatever is
>> causing the problem is hosing FXTreeList::removeItem.
>
>
> I think that's the same bug that I reported here about a month ago, but
> couldn't isolate very well.
Guys,
Sorry I didn't respond sooner, but I have been sick the last few days. I
have only started looking at the problem again this morning, but have
already found one interesting thread to follow. Since both of you were
using custom subclasses of FXTreeItem, I tried replacing the MyTreeItem
instances in Kevin's example with regular tree items, i.e.
item = tree.addItemLast(@tree, FXTreeItem.new("... just fine"))
item = tree.addItemLast(item, FXTreeItem.new("... choke"))
The program still crashes as before. 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.
Thanks for your patience,
Lyle
|