From af5163025a19c334e2f8151f16c75acaa705e913 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sat, 28 May 2016 23:00:47 -0400 Subject: [PATCH] add button --- src/widgets/Ruler.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/widgets/Ruler.cpp b/src/widgets/Ruler.cpp index 7750dd9cb..549ab3e3d 100644 --- a/src/widgets/Ruler.cpp +++ b/src/widgets/Ruler.cpp @@ -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);