Project

General

Profile

Bug #3266

can not set new layout

Added by Anonymous about 8 years ago. Updated about 8 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
Michael Vilsker
Target version:
-
Start date:
06/05/2014
Due date:
% Done:

0%

Estimated time:

Description

WContainerWidget c, set hbox layout, add child widget and child layout.

Then remove child widget and child layout from hbox.

Create vbox layout, add children, call c->setLayout(vbox).

In debug, this calls assertation fail:

Wt::WLayout::setParentWidget, assert(!impl_);

In release, memory leak in

Wt::WLayout::setParentWidget, Wt::WContainerWidget::createLayoutItemImpl.

Also available in: Atom PDF