Project

General

Profile

Bug #14469 » fix-wgroupbox-children-not-rendered.patch

Will Johnson, 04/14/2026 03:30 AM

View differences:

src/Wt/WGroupBox.C
void WGroupBox::setLogicalLayout(std::unique_ptr<WLayout> layout)
{
std::unique_ptr<WVBoxLayout> newLayout = std::make_unique<WVBoxLayout>();
logicalLayout_ = layout.get();
if (layout) {
std::unique_ptr<WVBoxLayout> newLayout = std::make_unique<WVBoxLayout>();
newLayout->addLayout(std::move(layout));
WContainerWidget::setLogicalLayout(std::move(newLayout));
}
WContainerWidget::setLogicalLayout(std::move(newLayout));
}
}
src/Wt/WGroupBox.h
private:
WString title_;
bool titleChanged_;
WLayout* logicalLayout_;
WLayout* logicalLayout_ = nullptr;
void init();
(1-1/2)