Project

General

Profile

Actions

Support #1889

closed

WWidget::addChild protected; not reflected in documentation

Added by Tom Thorogood over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Low
Assignee:
Target version:
Start date:
05/01/2013
Due date:
% Done:

0%

Estimated time:

Description

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.

Actions #1

Updated by Koen Deforche over 11 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.3.1

Hey,

Actually there was also a related build warning with CLang that we fixed. addChild(WObject *) is indeed public API. Noone needs to be disappointed :-)

Regards,

koen

Actions #2

Updated by Koen Deforche about 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF