using std::string;
using boost::optional;
+#if BOOST_VERSION >= 106100
+using namespace boost::placeholders;
+#endif
GDCCertificatePanel::GDCCertificatePanel (DownloadCertificateDialog* dialog)
: DownloadCertificatePanel (dialog)
wx_to_std(_serial->GetValue())
);
- optional<string> error = get_from_url (url, true, boost::bind (&DownloadCertificatePanel::load, this, _1));
+ optional<string> error = get_from_url (url, true, false, boost::bind(&DownloadCertificatePanel::load_certificate, this, _1));
if (error) {
_dialog->message()->SetLabel(wxT(""));