1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-02 18:04:23 +01:00

fix Windows build

This commit is contained in:
Paul Licameli
2016-06-01 14:35:20 -04:00
parent e295263958
commit 0dfee2106e
2 changed files with 4 additions and 1 deletions

View File

@@ -1956,6 +1956,9 @@ AdornedRulerPanel::AdornedRulerPanel(AudacityProject* parent,
, mProject(parent)
, mViewInfo(viewinfo)
{
for (auto &button : mButtons)
button = nullptr;
ReCreateButtons();
SetLabel( _("Timeline") );

View File

@@ -446,7 +446,7 @@ private:
friend QuickPlayRulerOverlay;
wxWindow *mButtons[1] { {} };
wxWindow *mButtons[1];
bool mNeedButtonUpdate { true };
};