From: Carl Hetherington Date: Sun, 15 Nov 2015 22:04:11 +0000 (+0000) Subject: Fix build. X-Git-Tag: v2.5.4~2 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=f0f743c396ecc0684d52a11a6660792a63eaf844;p=dcpomatic.git Fix build. --- diff --git a/src/wx/download_certificate_dialog.cc b/src/wx/download_certificate_dialog.cc index 743eb4a3d..31f6a7b6a 100644 --- a/src/wx/download_certificate_dialog.cc +++ b/src/wx/download_certificate_dialog.cc @@ -84,7 +84,7 @@ DownloadCertificateDialog::setup_sensitivity () _download->Enable (p->ready_to_download ()); wxButton* ok = dynamic_cast (FindWindowById (wxID_OK, this)); if (ok) { - ok->Enable (p->certificate ()); + ok->Enable (static_cast(p->certificate ())); } }