AFAIK the easiest way to 'debug' this (it's not really an error) is to
put a breakpoint in Wt where this warning is generated.

BR,
Wim.

2012/10/29 Nagaev Boris <bnag...@gmail.com>:
> Hello!
>
> This warning is produced, when a widget which already has a parent, is
> passed to addWidget() method of WContainerWidget.
>
> Note, that addWidget is called implicitly when WContainerWidget is
> passed as "parent" argument to constructor of widget.
>
> Possible scenario:
> WText text = new WText(this);
> container->addWidget(text); // <- reparenting
>
> On Mon, Oct 29, 2012 at 9:10 PM, Stefan Ruppert <s...@myarm.com> wrote:
>> Hi,
>>
>> I have a complex web application which uses many WContainerWidgets. Now
>> I try to polish it and found the two "[warning] "WContainerWidget:
>> addWidget(): reparenting widget" log messages. But I don't know how to
>> match these warnings with my code.
>>
>> Any idea?
>>
>> Regards,
>> Stefan
>>
>> ------------------------------------------------------------------------------
>> The Windows 8 Center - In partnership with Sourceforge
>> Your idea - your app - 30 days.
>> Get started!
>> http://windows8center.sourceforge.net/
>> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
>> _______________________________________________
>> witty-interest mailing list
>> witty-interest@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
> ------------------------------------------------------------------------------
> The Windows 8 Center - In partnership with Sourceforge
> Your idea - your app - 30 days.
> Get started!
> http://windows8center.sourceforge.net/
> what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/
> _______________________________________________
> witty-interest mailing list
> witty-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/witty-interest

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to