summaryrefslogtreecommitdiff
path: root/src/wx/download_certificate_dialog.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-15 02:08:05 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-15 10:57:07 +0100
commitf8acc34bcb4401184064598353d6c54df3cab1f9 (patch)
treef3861ef2b616beb1de08f14a70605480e1feeebc /src/wx/download_certificate_dialog.cc
parent6a69f5ba3ce43094493785bb449c91001557b80d (diff)
More rearrangement and add Barco Alchemy.
Diffstat (limited to 'src/wx/download_certificate_dialog.cc')
-rw-r--r--src/wx/download_certificate_dialog.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/wx/download_certificate_dialog.cc b/src/wx/download_certificate_dialog.cc
index a2219cd6f..6ca605f56 100644
--- a/src/wx/download_certificate_dialog.cc
+++ b/src/wx/download_certificate_dialog.cc
@@ -19,6 +19,7 @@
*/
#include "dolby_doremi_certificate_panel.h"
+#include "barco_alchemy_certificate_panel.h"
#include "download_certificate_dialog.h"
#include "wx_util.h"
@@ -42,7 +43,8 @@ DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent)
font.SetPointSize (font.GetPointSize() - 1);
_message->SetFont (font);
- _pages.push_back (new DolbyDoremiCertificatePanel (_notebook, _message, this));
+ _pages.push_back (new DolbyDoremiCertificatePanel (this));
+ _pages.push_back (new BarcoAlchemyCertificatePanel (this));
BOOST_FOREACH (DownloadCertificatePanel* i, _pages) {
_notebook->AddPage (i, i->name(), true);
@@ -59,8 +61,9 @@ DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent)
_download->Bind (wxEVT_BUTTON, boost::bind (&DownloadCertificateDialog::download, this));
_download->Enable (false);
- wxNotebookEvent ev;
- page_changed (ev);
+ _notebook->SetSelection (0);
+
+ setup_sensitivity ();
}
DownloadCertificateDialog::~DownloadCertificateDialog ()