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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user