Project

General

Profile

Bug #7457 » issue_7457.cpp

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

 
#include <Wt/WApplication.h>
#include <Wt/WContainerWidget.h>
#include <Wt/WDateEdit.h>
#include <Wt/WGoogleMap.h>
#include <Wt/WStackedWidget.h>

#include <memory>

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

auto invis = root->addNew<Wt::WContainerWidget>();

invis->addNew<Wt::WDateEdit>();
invis->addNew<Wt::WGoogleMap>();

invis->setHidden(true);

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