Make some more text windows read-only

This commit is contained in:
Paul Licameli 2019-12-28 19:43:36 -05:00
parent 33bd2a4d93
commit 8c4bc6c91f
2 changed files with 4 additions and 1 deletions

View File

@ -216,6 +216,7 @@ void BenchmarkDialog::MakeBenchmarkDialog()
mText = S.Id(StaticTextID)
/* i18n-hint noun */
.Name(XO("Output"))
.Style( wxTE_MULTILINE | wxTE_READONLY )
.MinSize( { 500, 200 } )
.AddTextWindow(wxT(""));

View File

@ -538,7 +538,9 @@ ProgressResult ExportCL::Export(AudacityProject *project,
dlg.SetName();
ShuttleGui S(&dlg, eIsCreating);
S.AddTextWindow(cmd + wxT("\n\n") + output);
S
.Style( wxTE_MULTILINE | wxTE_READONLY )
.AddTextWindow(cmd + wxT("\n\n") + output);
S.StartHorizontalLay(wxALIGN_CENTER, false);
{
S.Id(wxID_OK).AddButton(XO("&OK"), wxALIGN_CENTER, true);