diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-15 00:23:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-15 10:57:06 +0100 |
| commit | 6a69f5ba3ce43094493785bb449c91001557b80d (patch) | |
| tree | 8fdf1272da16f302be6ea372e6c179d2f64343f7 /src/wx/download_certificate_dialog.cc | |
| parent | 7459697905a79ff36c8cd676a9b2f150f6491d6d (diff) | |
Shift some more stuff around.
Diffstat (limited to 'src/wx/download_certificate_dialog.cc')
| -rw-r--r-- | src/wx/download_certificate_dialog.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/wx/download_certificate_dialog.cc b/src/wx/download_certificate_dialog.cc index bccfbb5c2..a2219cd6f 100644 --- a/src/wx/download_certificate_dialog.cc +++ b/src/wx/download_certificate_dialog.cc @@ -32,12 +32,6 @@ DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent) _notebook = new wxNotebook (this, wxID_ANY); sizer->Add (_notebook, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER); - _pages.push_back (new DolbyDoremiCertificatePanel (_notebook, this)); - - BOOST_FOREACH (DownloadCertificatePanel* i, _pages) { - _notebook->AddPage (i, i->name(), true); - } - _download = new wxButton (this, wxID_ANY, _("Download")); sizer->Add (_download, 0, wxEXPAND | wxALL, DCPOMATIC_SIZER_GAP); @@ -48,6 +42,12 @@ DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent) font.SetPointSize (font.GetPointSize() - 1); _message->SetFont (font); + _pages.push_back (new DolbyDoremiCertificatePanel (_notebook, _message, this)); + + BOOST_FOREACH (DownloadCertificatePanel* i, _pages) { + _notebook->AddPage (i, i->name(), true); + } + wxSizer* buttons = CreateSeparatedButtonSizer (wxOK | wxCANCEL); if (buttons) { sizer->Add (buttons, wxSizerFlags().Expand().DoubleBorder()); @@ -71,7 +71,7 @@ DownloadCertificateDialog::~DownloadCertificateDialog () void DownloadCertificateDialog::download () { - _pages[_notebook->GetSelection()]->download (_message); + _pages[_notebook->GetSelection()]->download (); } dcp::Certificate |
