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

Define and use ShuttleGui::Disable; remove EnableCtrl

This commit is contained in:
Paul Licameli
2019-11-19 11:34:36 -05:00
parent c72dbf5b51
commit d98e41aad1
12 changed files with 85 additions and 81 deletions

View File

@@ -166,18 +166,18 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
{
S.StartHorizontalLay( wxEXPAND, false );
{
wxButton * pWndBackwards = S.Id( wxID_BACKWARD )
S.Id( wxID_BACKWARD )
.Disable()
#if wxUSE_TOOLTIPS
.ToolTip( XO("Backwards" ) )
#endif
.AddButton( _("<") );
wxButton * pWndForwards = S.Id( wxID_FORWARD )
S.Id( wxID_FORWARD )
.Disable()
#if wxUSE_TOOLTIPS
.ToolTip( XO("Forwards" ) )
#endif
.AddButton( _(">") );
pWndForwards->Enable( false );
pWndBackwards->Enable( false );
}
S.EndHorizontalLay();