mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
ShuttleGui lets you specify whether a button is default. Use that.
This commit is contained in:
@@ -225,7 +225,7 @@ void BenchmarkDialog::MakeBenchmarkDialog()
|
||||
{
|
||||
S.StartHorizontalLay(wxALIGN_LEFT, false);
|
||||
{
|
||||
S.Id(RunID).AddButton(_("Run"))->SetDefault();
|
||||
S.Id(RunID).AddButton(_("Run"), wxALIGN_CENTRE, true);
|
||||
S.Id(BSaveID).AddButton(_("Save"));
|
||||
/* i18n-hint verb; to empty or erase */
|
||||
S.Id(ClearID).AddButton(_("Clear"));
|
||||
|
||||
Reference in New Issue
Block a user