WWidget::addChild protected; not reflected in documentation
The documentation is very out of date. The source code in 3.3.0 shows that in WWebWidget, 'addChild' is a protected member function, but it is not shown as an implemented function at all in the documentation, and public in WObject (http://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WObject.html#a945f972be4331bfe46221263e04ae9ed).
For anyone developing a Wt application and expecting to be able to add widgets as children from outside that particular widget's tree, this could be rather disappointing, and lead to quite a bit of recoding of what they think is going to work.
Updating the documenation would be great.
Updated by Koen Deforche over 9 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.3.1
Actually there was also a related build warning with CLang that we fixed. addChild(WObject *) is indeed public API. Noone needs to be disappointed :-)