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

TrackInfo doesn't need TrackPanel to push preference changes to it...

... This frees six more files from cycles, leaving that no-longer biggest s.c.c.
at just seven files now!
This commit is contained in:
Paul Licameli
2019-06-21 13:59:12 -04:00
parent e5baad44d4
commit 38f3ee95c0
2 changed files with 30 additions and 28 deletions

View File

@@ -70,7 +70,6 @@ is time to refresh some aspect of the screen.
#include "Prefs.h"
#include "RefreshCode.h"
#include "TrackArtist.h"
#include "TrackInfo.h"
#include "TrackPanelAx.h"
#include "WaveTrack.h"
#ifdef EXPERIMENTAL_MIDI_OUT
@@ -259,8 +258,6 @@ TrackPanel::TrackPanel(wxWindow * parent, wxWindowID id,
#pragma warning( default: 4355 )
#endif
{
TrackInfo::UpdatePrefs( this );
SetLayoutDirection(wxLayout_LeftToRight);
SetLabel(_("Track Panel"));
SetName(_("Track Panel"));
@@ -340,8 +337,6 @@ void TrackPanel::UpdatePrefs()
// frequences may have been changed.
UpdateVRulers();
TrackInfo::UpdatePrefs( this );
Refresh();
}