1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01: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

@@ -891,7 +891,7 @@ void TimerRecordDialog::PopulateOrExchange(ShuttleGui& S)
{
// If checked, the project will be saved when the recording is completed
m_pTimerAutoSaveCheckBoxCtrl = S.Id(ID_AUTOSAVE_CHECKBOX).AddCheckBox(_("Enable &Automatic Save?"),
(bAutoSave ? "true" : "false"));
bAutoSave);
S.StartMultiColumn(3, wxEXPAND);
{
wxString sInitialValue;
@@ -914,7 +914,7 @@ void TimerRecordDialog::PopulateOrExchange(ShuttleGui& S)
S.StartStatic(_("Automatic Export"), true);
{
m_pTimerAutoExportCheckBoxCtrl = S.Id(ID_AUTOEXPORT_CHECKBOX).AddCheckBox(_("Enable Automatic &Export?"), (bAutoExport ? "true" : "false"));
m_pTimerAutoExportCheckBoxCtrl = S.Id(ID_AUTOEXPORT_CHECKBOX).AddCheckBox(_("Enable Automatic &Export?"), bAutoExport);
S.StartMultiColumn(3, wxEXPAND);
{
S.AddPrompt(_("Export Project As:"));