1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 22:12:58 +02:00

Remove second argument of AddWindow(), use Position() instead

This commit is contained in:
Paul Licameli
2017-10-31 19:44:00 -04:00
parent b5ee7676fd
commit 96291c5476
22 changed files with 120 additions and 55 deletions

View File

@@ -134,7 +134,8 @@ void LabelTrackMenuTable::OnSetFont(wxCommandEvent &)
lb->SetSelection( make_iterator_range( facenames ).index( facename ));
S
.Name(XO("Face name"))
.AddWindow(lb, wxALIGN_LEFT | wxEXPAND | wxALL);
.Position( wxALIGN_LEFT | wxEXPAND | wxALL )
.AddWindow(lb);
/* i18n-hint: (noun) The size of the typeface*/
S.AddPrompt(_("Face size"));
@@ -146,7 +147,8 @@ void LabelTrackMenuTable::OnSetFont(wxCommandEvent &)
8, 48, fontsize);
S
.Name(XO("Face size"))
.AddWindow(sc, wxALIGN_LEFT | wxALL);
.Position( wxALIGN_LEFT | wxALL )
.AddWindow(sc);
}
S.EndMultiColumn();
S.AddStandardButtons();