void FlashOnClickWhitelist::on_Modify__released () { const auto& index = Ui_.WhitelistTree_->currentIndex (); if (!index.isValid ()) return; const auto& str = Model_->itemFromIndex (index)->text (); AddImpl (str, index); }
void DetailsView::Add(const wxString& key, unsigned value) { AddImpl(key, wxString::Format(wxT("%ld"), value)); }
void DetailsView::Add(const wxString& key, bool value) { AddImpl(key, value ? _("true") : _("false")); }
void DetailsView::Add(const wxString& key, const llvm::StringRef& value) { AddImpl(key, toWxStr(value)); }
void DetailsView::Add(const wxString& key, const wxChar* value) { AddImpl(key, value); }
void FlashOnClickWhitelist::on_Add__released () { AddImpl (); }
void FlashOnClickWhitelist::Add (const QString& str) { AddImpl (str); }