summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-03 01:16:36 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-03 01:16:36 +0200
commit4e841ab275143ecbd8790c39ed332e5e346733f8 (patch)
tree97e4fc9b916dabb99059ddd9b5d8e8c24929af5f
parentd0500842e988596fc329d1a6353f6ac6153f3a8d (diff)
Formatting tweaks to unmount dialogue.
-rw-r--r--src/wx/try_unmount_dialog.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/wx/try_unmount_dialog.cc b/src/wx/try_unmount_dialog.cc
index 2ca76527d..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. Should DCP-o-matic 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 <b>%s</b> 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());