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

Windows builds need a complete type for wxWeakRef parameter...

... Guarantee that in header files that declare such wxWeakRefs
This commit is contained in:
Paul Licameli
2021-04-19 12:34:23 -04:00
parent 7771760b5e
commit aa8e4eef06
2 changed files with 7 additions and 2 deletions

View File

@@ -34,7 +34,9 @@ class AudioIOBase;
class AudacityProject; class AudacityProject;
class AudioIOListener; class AudioIOListener;
class BoundedEnvelope; class BoundedEnvelope;
class MeterPanelBase; // Windows build needs complete type for parameter of wxWeakRef
// class MeterPanelBase;
#include "widgets/MeterPanelBase.h"
using PRCrossfadeData = std::vector< std::vector < float > >; using PRCrossfadeData = std::vector< std::vector < float > >;
#define BAD_STREAM_TIME (-DBL_MAX) #define BAD_STREAM_TIME (-DBL_MAX)

View File

@@ -15,7 +15,10 @@ Paul Licameli split from AudacityProject.h
#include <wx/weakref.h> #include <wx/weakref.h>
class AudacityProject; class AudacityProject;
class MeterPanelBase;
// Windows build needs complete type for parameter of wxWeakRef
// class MeterPanelBase;
#include "widgets/MeterPanelBase.h"
///\ brief Holds per-project state needed for interaction with AudioIO, ///\ brief Holds per-project state needed for interaction with AudioIO,
/// including the audio stream token and pointers to meters /// including the audio stream token and pointers to meters