1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-07 07:39:29 +02:00

add button

This commit is contained in:
Paul Licameli 2016-05-28 23:00:47 -04:00
parent 668714942b
commit af5163025a

View File

@ -1957,6 +1957,16 @@ AdornedRulerPanel::AdornedRulerPanel(AudacityProject* parent,
, mProject(parent)
, mViewInfo(viewinfo)
{
{
ToolBar::MakeButton(this,
bmpRecoloredUpSmall, bmpRecoloredDownSmall, bmpRecoloredHiliteSmall,
bmpSyncLockTracksUp, bmpSyncLockTracksDown, bmpSyncLockTracksDisabled, wxWindowID(id),
wxDefaultPosition,
true,
theTheme.ImageSize( bmpRecoloredUpSmall ));
}
SetLabel( _("Timeline") );
SetName(GetLabel());
SetBackgroundStyle(wxBG_STYLE_PAINT);