/*
- 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
DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent, function<void (boost::filesystem::path)> load)
: TableDialog (parent, _("Download certificate"), 2, true)
, _load (load)
+ , _message (0)
+ , _download (0)
{
}
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);