701e75b87018ab1ec831f84b5325a0c76bd9f6ba from master; content properties dialog.
[dcpomatic.git] / src / wx / download_certificate_dialog.cc
index bd3841f193205491c995382d6bbff35fdad7bb54..a8a71233494c35b163bd42b1932d3f99266c9115 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -26,6 +26,8 @@ using boost::function;
 DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent, function<void (boost::filesystem::path)> load)
        : TableDialog (parent, _("Download certificate"), 2, true)
        , _load (load)
+       , _message (0)
+       , _download (0)
 {
 
 }
@@ -36,11 +38,13 @@ DownloadCertificateDialog::add_common_widgets ()
        add_spacer ();
        _download = add (new wxButton (this, wxID_ANY, _("Download")));
 
-       add_spacer ();
-       _gauge = add (new wxGauge (this, wxID_ANY, 100));
-
        add_spacer ();
        _message = add (new wxStaticText (this, wxID_ANY, wxT ("")));
+
+       wxFont font = _message->GetFont();
+       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);