X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76a5e5d21ee1a6230d777ce0209b2df4c6075f0f..c920350185de42376da247722e885e7a79116e61:/src/mac/wave.cpp diff --git a/src/mac/wave.cpp b/src/mac/wave.cpp index d06eee4838..7cc1c23534 100644 --- a/src/mac/wave.cpp +++ b/src/mac/wave.cpp @@ -19,6 +19,9 @@ #ifdef __WXMAC__ #include "wx/mac/private.h" +#ifndef __DARWIN__ +#include +#endif #endif wxWave::wxWave() @@ -38,6 +41,11 @@ wxWave::~wxWave() Free(); } +wxWave::wxWave(int size, const wxByte* data) + : m_sndChan(0), m_hSnd(NULL), m_waveLength(0), m_isResource(false) +{ + //TODO convert data +} bool wxWave::Create(const wxString& fileName, bool isResource) {