Hey Bart,

2008/7/14 bvh <[EMAIL PROTECTED]>:
> On Sun, Jul 13, 2008 at 08:25:49PM +0200, Koen Deforche wrote:
>> > Wt will crash when trying to call WContainerWidget::setLayout when you
>> > pass in a WGridLayout that satisfies the following conditions
>> >
>> > - does not yet have that WContainerWidget as a Parent
>> > - is not complete, ie for example when adding a widget to cells
>> >  0,0; 0,1 and 1,1 but not 1,0.
>> >
>
> It is still problematic (CVS as of today) : relevant backtrace

<snip>

> Looking at Wt::StdLayoutImpl::containerAddWidgets it still seems
> to loop from 0 to count()?

It was one case I have missed. I have verified that now I always check
the result of itemAt() before using (since it might be 0).

The fix is in CVS.

Regards,
koen

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to