10 std::unique_ptr<WApplication> app
11 = std::make_unique<WApplication>(env);
12 app->setTitle(
"Drag & drop");
14 app->root()->setStyleClass(
"root");
16 app->root()->addWidget(std::make_unique<WText>(
"<h1>Wt Drag & drop example.</h1>"));
18 app->root()->addWidget(std::make_unique<DragExample>());
20 app->useStyleSheet(
"dragdrop.css");