1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-16 07:47:58 +01:00

Define and use ShuttleGui::Focus

This commit is contained in:
Paul Licameli
2018-01-27 22:36:34 -05:00
parent 30d375d6fa
commit c72dbf5b51
8 changed files with 25 additions and 13 deletions

View File

@@ -393,11 +393,10 @@ visit our [[https://forum.audacityteam.org/|forum]].");
wxDefaultPosition,
wxSize(ABOUT_DIALOG_WIDTH, 359),
wxHW_SCROLLBAR_AUTO | wxSUNKEN_BORDER);
html->SetFocus();
html->SetPage(creditStr);
/* locate the html renderer where it fits in the dialogue */
S.Prop(1).AddWindow( html, wxEXPAND );
S.Prop(1).Focus().AddWindow( html, wxEXPAND );
S.EndVerticalLay();
S.EndNotebookPage();