--- TreeViewDragDrop.old 2012-08-14 22:33:07.000000000 +0200 +++ TreeViewDragDrop_new.C 2013-03-14 09:05:09.515390900 +0100 @@ -532,9 +532,17 @@ */ WString text = popup_->result()->text(); popup_->hide(); + Wt::WString msg = WT_VERSION_STR " Action '" + text + "' is not implemented."; + if (popup_->result()->isCheckable()) { + msg += "
the item is checkable and is currently "; + if ( not popup_->result()->isChecked() ) { +// if ( popup_->result()->checkBox()->checkState() == Unchecked ) { + msg += "NOT "; + } + msg += "checked"; + } - popupActionBox_ = new WMessageBox("Sorry.","Action '" + text - + "' is not implemented.", NoIcon, Ok); + popupActionBox_ = new WMessageBox("Sorry.",msg, NoIcon, Ok); popupActionBox_->buttonClicked() .connect(this, &TreeViewDragDrop::dialogDone); popupActionBox_->show();