mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-17 00:07:54 +01:00
ShuttleGui lets you specify whether a button is default. Use that.
This commit is contained in:
@@ -135,7 +135,7 @@ HistoryWindow::HistoryWindow(AudacityProject *parent, UndoManager *manager):
|
||||
S.StartHorizontalLay(wxALIGN_RIGHT, false);
|
||||
{
|
||||
S.SetBorder(10);
|
||||
S.Id(wxID_OK).AddButton(_("&OK"))->SetDefault();
|
||||
S.Id(wxID_OK).AddButton(_("&OK"), wxALIGN_CENTER, true);
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user