1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00

AddCheckBox takes a bool for initial state, not string

This commit is contained in:
Paul Licameli
2018-02-01 21:37:34 -05:00
parent e01e1072bc
commit 7766d9a192
24 changed files with 40 additions and 40 deletions

View File

@@ -609,7 +609,7 @@ void VampEffect::PopulateOrExchange(ShuttleGui & S)
{
S.Id(ID_Toggles + p);
mToggles[p] = S.AddCheckBox( {},
value > 0.5 ? wxT("true") : wxT("false"));
value > 0.5);
mToggles[p]->SetName(labelText);
if (!tip.empty())
{