mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Define and use ShuttleGui::Focus
This commit is contained in:
@@ -192,7 +192,7 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
|
||||
else
|
||||
html->SetPage( HtmlText);
|
||||
|
||||
S.Prop(1).AddWindow( html, wxEXPAND );
|
||||
S.Prop(1).Focus().AddWindow( html, wxEXPAND );
|
||||
|
||||
S.Id( wxID_CANCEL ).AddButton( _("Close"), wxALIGN_CENTER, true );
|
||||
}
|
||||
@@ -228,7 +228,6 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
|
||||
}
|
||||
|
||||
html->SetRelatedStatusBar( 0 );
|
||||
html->SetFocus();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user