1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 15:23:48 +01:00

Less code directly inside ShuttleGui code blocks...

... Trying to reduce that just to chained calls on S, or conditional and looping
logic for variations in layout.

Lift some declarations to higher scope; or use expressions that avoid local
variables; or even use lambdas for more complicated computation of arguments
for the member functions of S.
This commit is contained in:
Paul Licameli
2018-01-30 20:03:46 -05:00
parent f846c25806
commit b256a4fd1a
13 changed files with 118 additions and 117 deletions

View File

@@ -843,7 +843,7 @@ void DeviceToolBar::ShowComboDialog(wxChoice *combo, const wxString &title)
S.StartVerticalLay(true);
{
S.StartHorizontalLay(wxCENTER, false);
S.StartHorizontalLay(wxCENTER, false);
{
c = S.AddChoice(combo->GetName(),
inputSources,