diff --git a/src/TrackPanelAx.cpp b/src/TrackPanelAx.cpp index a66385c6c..14bb44456 100644 --- a/src/TrackPanelAx.cpp +++ b/src/TrackPanelAx.cpp @@ -29,6 +29,7 @@ #include #include "Track.h" +#include "TrackPanel.h" #include "Internat.h" TrackPanelAx::TrackPanelAx( wxWindow *window ) diff --git a/src/TrackPanelAx.h b/src/TrackPanelAx.h index f90b636fc..6a56e6490 100644 --- a/src/TrackPanelAx.h +++ b/src/TrackPanelAx.h @@ -11,6 +11,7 @@ #ifndef __AUDACITY_TRACK_PANEL_ACCESSIBILITY__ #define __AUDACITY_TRACK_PANEL_ACCESSIBILITY__ +#include #include #include @@ -19,8 +20,8 @@ #include "widgets/WindowAccessible.h" #endif -#include "Track.h" -#include "TrackPanel.h" +class Track; +class TrackPanel; class TrackPanelAx final #if wxUSE_ACCESSIBILITY diff --git a/src/tracks/ui/EditCursorOverlay.cpp b/src/tracks/ui/EditCursorOverlay.cpp index b2386da7b..4547510d7 100644 --- a/src/tracks/ui/EditCursorOverlay.cpp +++ b/src/tracks/ui/EditCursorOverlay.cpp @@ -15,7 +15,9 @@ Paul Licameli split from TrackPanel.cpp #include "../../AColor.h" #include "../../AdornedRulerPanel.h" #include "../../Project.h" +#include "../../Track.h" #include "../../TrackPanelAx.h" +#include "../../TrackPanel.h" #include "../../ViewInfo.h" #include