Fill test disk partitions with random noise to expose more bugs.
[dcpomatic.git] / src / wx / disk_warning_dialog.cc
index 46483f4a5dbfd018ab06e910dc5e235929c372ea..8f581c2d1f1b5e5365f138de556060eb736e833f 100644 (file)
 DiskWarningDialog::DiskWarningDialog ()
        : wxDialog (0, wxID_ANY, _("Important notice"))
 {
-       wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL);
-       wxStaticText* text = new StaticText (this, wxEmptyString, wxDefaultPosition, wxSize(400, 300));
+       auto sizer = new wxBoxSizer (wxVERTICAL);
+       auto text = new StaticText (this, wxEmptyString, wxDefaultPosition, wxSize(400, 300));
        sizer->Add (text, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
        _yes = new wxTextCtrl (this, wxID_ANY);
        sizer->Add (_yes, 0, wxALL, DCPOMATIC_DIALOG_BORDER);
 
-       wxSizer* buttons = CreateSeparatedButtonSizer (wxOK | wxCANCEL);
+       auto buttons = CreateSeparatedButtonSizer (wxOK | wxCANCEL);
        if (buttons) {
                sizer->Add(buttons, wxSizerFlags().Expand().DoubleBorder());
        }
@@ -41,9 +41,8 @@ DiskWarningDialog::DiskWarningDialog ()
        sizer->SetSizeHints (this);
 
        text->SetLabelMarkup (
-               _("The <b>DCP-o-matic Disk Writer</b> is\n\n<span weight=\"bold\" size=\"20480\" foreground=\"red\">ALPHA-GRADE TEST SOFTWARE</span>\n\n"
-                 "and can\n\n<span weight=\"bold\" size=\"20480\" foreground=\"red\">DESTROY DATA!</span>\n\n"
-                 "Please do not continue unless Carl has asked you to test the software. "
+               _("The <b>DCP-o-matic Disk Writer</b> is\n\n<span weight=\"bold\" size=\"20480\" foreground=\"red\">BETA-GRADE TEST SOFTWARE</span>\n\n"
+                 "and may\n\n<span weight=\"bold\" size=\"20480\" foreground=\"red\">DESTROY DATA!</span>\n\n"
                  "If you are sure you want to continue please type\n\n<tt>I am sure</tt>\n\ninto the box below, then click OK.")
                );
 }