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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user