/*
- Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
-#include <wx/hyperlink.h>
#include "update_dialog.h"
+#include "static_text.h"
#include "wx_util.h"
+#include <wx/hyperlink.h>
using std::string;
using boost::optional;
wxStaticText* message;
if ((stable || test) && !(stable && test)) {
- message = new wxStaticText (this, wxID_ANY, _("A new version of DCP-o-matic is available."));
+ message = new StaticText (this, _("A new version of DCP-o-matic is available."));
} else {
- message = new wxStaticText (this, wxID_ANY, _("New versions of DCP-o-matic are available."));
+ message = new StaticText (this, _("New versions of DCP-o-matic are available."));
}
overall_sizer->Add (message, 1, wxTOP | wxLEFT | wxRIGHT, DCPOMATIC_DIALOG_BORDER);
if (stable) {
add_label_to_sizer (table, this, _("Stable version ") + std_to_wx (stable.get ()), true);
- wxHyperlinkCtrl* h = new wxHyperlinkCtrl (this, wxID_ANY, "dcpomatic.com/download", "http://dcpomatic.com/download");
+ wxHyperlinkCtrl* h = new wxHyperlinkCtrl (this, wxID_ANY, "dcpomatic.com/download", "https://dcpomatic.com/download");
table->Add (h);
}
if (test) {
add_label_to_sizer (table, this, _("Test version ") + std_to_wx (test.get ()), true);
- wxHyperlinkCtrl* h = new wxHyperlinkCtrl (this, wxID_ANY, "dcpomatic.com/test-download", "http://dcpomatic.com/test-download");
+ wxHyperlinkCtrl* h = new wxHyperlinkCtrl (this, wxID_ANY, "dcpomatic.com/test-download", "https://dcpomatic.com/test-download");
table->Add (h);
}