Support buttons.
[dcpomatic.git] / src / wx / download_certificate_dialog.cc
index 21a675ac70c0b74ae7d886d4e9c2a2d7ccd86470..45b34c7030540162919a82e6cd94ebd51022727a 100644 (file)
@@ -25,6 +25,7 @@
 #include "download_certificate_dialog.h"
 #include "static_text.h"
 #include "wx_util.h"
+#include "dcpomatic_button.h"
 
 using boost::optional;
 
@@ -36,7 +37,7 @@ DownloadCertificateDialog::DownloadCertificateDialog (wxWindow* parent)
        _notebook = new wxNotebook (this, wxID_ANY);
        sizer->Add (_notebook, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
 
-       _download = new wxButton (this, wxID_ANY, _("Download"));
+       _download = new Button (this, _("Download"));
        sizer->Add (_download, 0, wxEXPAND | wxALL, DCPOMATIC_SIZER_GAP);
 
        _message = new StaticText (this, wxT (""));