diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-15 22:04:11 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-15 22:04:11 +0000 |
| commit | f0f743c396ecc0684d52a11a6660792a63eaf844 (patch) | |
| tree | 2fe7cf62d27d557430991f02de3288ad778d6679 /src | |
| parent | 2ae8f10512fc4f52a9a34625307143341638e270 (diff) | |
Fix build.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/download_certificate_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<wxButton *> (FindWindowById (wxID_OK, this)); if (ok) { - ok->Enable (p->certificate ()); + ok->Enable (static_cast<bool>(p->certificate ())); } } |
