mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-17 08:17:59 +01:00
Specify list control columns and styles all in one call
This commit is contained in:
@@ -72,10 +72,9 @@ void AutoRecoveryDialog::PopulateOrExchange(ShuttleGui& S)
|
||||
|
||||
S.StartStatic(_("Recoverable projects"));
|
||||
{
|
||||
mFileList = S.Id(ID_FILE_LIST).AddListControlReportMode();
|
||||
/*i18n-hint: (noun). It's the name of the project to recover.*/
|
||||
mFileList->InsertColumn(0, _("Name"));
|
||||
mFileList->SetColumnWidth(0, wxLIST_AUTOSIZE);
|
||||
mFileList = S.Id(ID_FILE_LIST)
|
||||
/*i18n-hint: (noun). It's the name of the project to recover.*/
|
||||
.AddListControlReportMode( { _("Name") } );
|
||||
PopulateList();
|
||||
}
|
||||
S.EndStatic();
|
||||
|
||||
Reference in New Issue
Block a user