Project

General

Profile

Bug #7457 » issue_7457.cpp

Test case to reproduce the issue in Wt 3 - Roel Standaert, 02/13/2020 12:41 PM

 
#include <Wt/WApplication>
#include <Wt/WContainerWidget>
#include <Wt/WDateEdit>
#include <Wt/WGoogleMap>

int main(int argc, char *argv[])
{
return Wt::WRun(argc, argv, [](const Wt::WEnvironment &env) {
auto app = new Wt::WApplication(env);
auto root = app->root();

auto invis = new Wt::WContainerWidget();
root->addWidget(invis);

invis->addWidget(new Wt::WDateEdit());
invis->addWidget(new Wt::WGoogleMap());

invis->setHidden(true);

return app;
});
}
(2-2/2)