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

MemoryX.h does not include wx/utils.h

This commit is contained in:
Paul Licameli
2021-02-17 12:22:36 -05:00
parent e6e96de0fd
commit 434f3919f9
5 changed files with 6 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
#define __AUDACITY_MEMORY_X_H__ #define __AUDACITY_MEMORY_X_H__
// C++ standard header <memory> with a few extensions // C++ standard header <memory> with a few extensions
#include <iterator>
#include <memory> #include <memory>
#include <cstdlib> // Needed for free. #include <cstdlib> // Needed for free.
#ifndef safenew #ifndef safenew
@@ -329,7 +330,6 @@ Final_action<F> finally (F f)
return Final_action<F>(f); return Final_action<F>(f);
} }
#include <wx/utils.h> // for wxMin, wxMax
#include <algorithm> #include <algorithm>
/** /**

View File

@@ -23,6 +23,7 @@ class wxArrayString;
class wxDynamicLibrary; class wxDynamicLibrary;
class ComponentInterface; class ComponentInterface;
class ModuleInterface; class ModuleInterface;
class wxWindow;
// //
// Module Manager // Module Manager

View File

@@ -12,6 +12,7 @@ Max Maisel
#include "Biquad.h" #include "Biquad.h"
#include <cmath> #include <cmath>
#include <wx/utils.h>
#define square(a) ((a)*(a)) #define square(a) ((a)*(a))
#define PI M_PI #define PI M_PI

View File

@@ -15,6 +15,8 @@ Max Maisel
#include <memory> #include <memory>
#include "SampleFormat.h" #include "SampleFormat.h"
#include <cmath>
/// \brief Implements EBU-R128 loudness measurement. /// \brief Implements EBU-R128 loudness measurement.
class EBUR128 class EBUR128
{ {

View File

@@ -20,6 +20,7 @@ Geometric TimeWarper classes
#include <wx/string.h> #include <wx/string.h>
#include <math.h> #include <math.h>
#include <wx/debug.h>
TimeWarper::~TimeWarper() = default; TimeWarper::~TimeWarper() = default;