X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftry_unmount_dialog.cc;h=44d9709191e87007ae7895fc838a852f67ba49b6;hb=15a83d720780d58f905d40f8493cdcb86596eaee;hp=d25ae8c3e588f690ec4f1fb3a97bbb30d01a58c0;hpb=350afcbc40fffd8c8780180e153a2ee91088f562;p=dcpomatic.git diff --git a/src/wx/try_unmount_dialog.cc b/src/wx/try_unmount_dialog.cc index d25ae8c3e..44d970919 100644 --- a/src/wx/try_unmount_dialog.cc +++ b/src/wx/try_unmount_dialog.cc @@ -27,9 +27,13 @@ TryUnmountDialog::TryUnmountDialog (wxWindow* parent, wxString description) : wxDialog (parent, wxID_ANY, _("DCP-o-matic Disk Writer")) { wxBoxSizer* sizer = new wxBoxSizer (wxVERTICAL); - wxStaticText* text = new StaticText (this, wxString::Format(_("The drive %s is mounted.\nIt must be unmounted before DCP-o-matic can write to it. Do you want to try to unmount it now?"), description)); + wxStaticText* text = new StaticText (this, wxEmptyString); sizer->Add (text, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER); + text->SetLabelMarkup ( + wxString::Format(_("The drive %s is mounted.\n\nIt must be unmounted before DCP-o-matic can write to it.\n\nShould DCP-o-matic try to unmount it now?"), description) + ); + wxSizer* buttons = CreateSeparatedButtonSizer (wxOK | wxCANCEL); if (buttons) { sizer->Add(buttons, wxSizerFlags().Expand().DoubleBorder());