Bug #3741 ยป testcase.patch
| examples/hello/hello.C | ||
|---|---|---|
|
// button->clicked().connect(std::bind([=]() {
|
||
|
// greeting_->setText("Hello there, " + nameEdit_->text());
|
||
|
// }));
|
||
|
messageResourceBundle().use("approot/strings");
|
||
|
WPushButton* btnDropDown = new WPushButton(root());
|
||
|
WPopupMenu* pmDropDown = new WPopupMenu();
|
||
|
pmDropDown->addItem(Wt::WString::tr("some-string"));
|
||
|
btnDropDown->setMenu( pmDropDown);
|
||
|
}
|
||
|
void HelloApplication::greet()
|
||