69 std::unique_ptr<WApplication> app
70 = std::make_unique<WApplication>(env);
71 app->messageResourceBundle().use(WApplication::appRoot() +
"form-example");
72 app->setTitle(
"Form example");
74 app->root()->addWidget(std::make_unique<FormExample>());
78 langStyle.
setCursor(Cursor::PointingHand);
81 app->styleSheet().addRule(
".lang", langStyle);
85 app->styleSheet().addRule(
".langcurrent", langStyle);
const WString & text() const