Update for TableDialog constructor change.
[dcpomatic.git] / src / wx / download_certificate_dialog.cc
index a0c41fd765901e4b60067caf3ee0af55d278382e..275c943db7687895430f02897026e8aa15aef4ce 100644 (file)
@@ -24,7 +24,7 @@
 using boost::function;
 
 DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent, function<void (boost::filesystem::path)> load)
-       : TableDialog (parent, _("Download certificate"), 2, true)
+       : TableDialog (parent, _("Download certificate"), 2, 1, true)
        , _load (load)
        , _message (0)
        , _download (0)
@@ -45,7 +45,7 @@ DownloadCertificateDialog::add_common_widgets ()
        font.SetStyle (wxFONTSTYLE_ITALIC);
        font.SetPointSize (font.GetPointSize() - 1);
        _message->SetFont (font);
-       
+
        _download->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&DownloadCertificateDialog::download, this));
        _download->Enable (false);
 
@@ -61,5 +61,3 @@ DownloadCertificateDialog::downloaded (bool done)
        wxButton* ok = dynamic_cast<wxButton *> (FindWindowById (wxID_OK, this));
        ok->Enable (done);
 }
-
-