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