Hey,

2011/12/25 Matthew Sherborne <msherbo...@gmail.com>:
> https://github.com/kdeforche/wt/commit/3afb493b34529cd9026bafc34cd9cc9fca2c0a95#L21R25
>
> Why does WWidget throw away 'parent' ?

Either WWebWidget or WCompositeWidget will add themselve to the parent
if it is not 0.

> I'm concerned it would cause memory leaks, as one would generally expect if
> you made a child widget, it'd be owned by parent and deleted when the parent
> died.

That is totally the case.

Regards,
koen

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to