mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Define and use ShuttleGui::ToolTip
This commit is contained in:
@@ -165,14 +165,18 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
|
||||
{
|
||||
S.StartHorizontalLay( wxEXPAND, false );
|
||||
{
|
||||
wxButton * pWndBackwards = S.Id( wxID_BACKWARD ).AddButton( _("<") );
|
||||
wxButton * pWndForwards = S.Id( wxID_FORWARD ).AddButton( _(">") );
|
||||
wxButton * pWndBackwards = S.Id( wxID_BACKWARD )
|
||||
#if wxUSE_TOOLTIPS
|
||||
.ToolTip( XO("Backwards" ) )
|
||||
#endif
|
||||
.AddButton( _("<") );
|
||||
wxButton * pWndForwards = S.Id( wxID_FORWARD )
|
||||
#if wxUSE_TOOLTIPS
|
||||
.ToolTip( XO("Forwards" ) )
|
||||
#endif
|
||||
.AddButton( _(">") );
|
||||
pWndForwards->Enable( false );
|
||||
pWndBackwards->Enable( false );
|
||||
#if wxUSE_TOOLTIPS
|
||||
pWndForwards->SetToolTip( _("Forwards" ));
|
||||
pWndBackwards->SetToolTip( _("Backwards" ));
|
||||
#endif
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user