Could one of the developers commit this fix to the git repository?

This fix is still not in the official source as of 2009/9/30.  (I  
really don't want to have to apply it myself whenever I obtain a new  
release.)

On Sep 28, 2009, at 1:47 AM, Koen Deforche wrote:

> Hey Joseph,
>
> 2009/9/25 Joseph VanAndel <[email protected]>:
>> I've attached a test program that creates a dialog containing  
>> multiple tabs.
>>  If I only create a single tab, the test program works.  I'm using  
>> Wt from
>> git, updated as of 2009/9/25.  Here's part of the backtrace - note  
>> that
>> item=0x0 in the routine that crashed.
>> Should I create the dialog differently, or is this a bug?
>
> This is a bug of which for some reason I was certainly was already
> fixed (as Grant Gray had signalled this problem before)...
>
> The fix is:
>
> diff --git a/src/Wt/WContainerWidget.C b/src/Wt/WContainerWidget.C
> index 2051e84..976a749 100644
> --- a/src/Wt/WContainerWidget.C
> +++ b/src/Wt/WContainerWidget.C
> @@ -513,6 +513,9 @@ int WContainerWidget::firstChildIndex() const
>
> void WContainerWidget::propagateLayoutItemsOk(WLayoutItem *item)
> {
> +  if (!item)
> +    return;
> +
>   if (item->layout()) {
>     WLayout *layout = item->layout();
>     const int c = layout->count();
>
> Regards,
> koen
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9&#45;12, 2009. Register  
> now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to