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

Define and use ShuttleGui::Disable; remove EnableCtrl

This commit is contained in:
Paul Licameli
2019-11-19 11:34:36 -05:00
parent c72dbf5b51
commit d98e41aad1
12 changed files with 85 additions and 81 deletions

View File

@@ -632,8 +632,12 @@ void MacrosWindow::PopulateOrExchange(ShuttleGui & S)
mRestore = S.Id(RestoreButtonID).AddButton(_("Re&store"));
// Not yet ready for prime time.
#if 0
S.Id(ImportButtonID).AddButton(_("I&mport..."))->Enable( false);
S.Id(ExportButtonID).AddButton(_("E&xport..."))->Enable( false);
S.Id(ImportButtonID)
.Disable()
.AddButton(_("I&mport..."));
S.Id(ExportButtonID)
.Disable()
.AddButton(_("E&xport..."));
#endif
}
S.EndVerticalLay();