Bug #7210 » issue_7210.patch
| src/Wt/WWidgetItem.C | ||
|---|---|---|
|
pc->widgetAdded(widget_.get());
|
||
|
bool flexLayout = dynamic_cast<FlexLayoutImpl *>
|
||
|
(parentLayout_->impl()) != 0;
|
||
|
(parentLayout_->impl()) != nullptr;
|
||
|
if (flexLayout)
|
||
|
impl_ = cpp14::make_unique<FlexItemImpl>(this);
|
||
| ... | ... | |
|
} else {
|
||
|
WContainerWidget *pc = dynamic_cast<WContainerWidget *>(widget_->parent());
|
||
|
if (pc)
|
||
|
pc->widgetRemoved(widget_.get(), true);
|
||
|
if (pc) {
|
||
|
bool flexLayout = dynamic_cast<FlexItemImpl *>(impl_.get()) != nullptr;
|
||
|
pc->widgetRemoved(widget_.get(), flexLayout);
|
||
|
}
|
||
|
impl_.reset();
|
||
|
}
|
||
- « Previous
- 1
- 2
- Next »