1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +01:00

ShuttleGui lets you specify whether a button is default. Use that.

This commit is contained in:
Paul Licameli
2019-11-19 11:33:37 -05:00
parent cd4266792a
commit bca0afd52e
9 changed files with 32 additions and 18 deletions

View File

@@ -189,7 +189,7 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
S.Prop(1).AddWindow( html, wxEXPAND );
S.Id( wxID_CANCEL ).AddButton( _("Close") )->SetDefault();
S.Id( wxID_CANCEL ).AddButton( _("Close"), wxALIGN_CENTER, true );
}
S.EndPanel();