X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fdisk_warning_dialog.cc;h=8a69c87f7ce9523132e7490650b5e3536599dd6f;hb=4e98996a5fc0b4594f832abe8f2e122f6532c0b1;hp=16531ca5c20682e2a671bab795160376ea690a99;hpb=ec65767c7b1b8439b2b1414998db9c1f4048c1de;p=dcpomatic.git diff --git a/src/wx/disk_warning_dialog.cc b/src/wx/disk_warning_dialog.cc index 16531ca5c..8a69c87f7 100644 --- a/src/wx/disk_warning_dialog.cc +++ b/src/wx/disk_warning_dialog.cc @@ -23,15 +23,15 @@ #include "wx_util.h" DiskWarningDialog::DiskWarningDialog () - : wxDialog (0, wxID_ANY, _("Important notice")) + : wxDialog(nullptr, 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,7 +41,7 @@ DiskWarningDialog::DiskWarningDialog () sizer->SetSizeHints (this); text->SetLabelMarkup ( - _("The DCP-o-matic Disk Writer is\n\nALPHA-GRADE TEST SOFTWARE\n\n" + _("The DCP-o-matic Disk Writer is\n\nBETA-GRADE TEST SOFTWARE\n\n" "and may\n\nDESTROY DATA!\n\n" "If you are sure you want to continue please type\n\nI am sure\n\ninto the box below, then click OK.") );