X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/76a5e5d21ee1a6230d777ce0209b2df4c6075f0f..a7c8e710e944fc12a81a19d06fe415a92e86bb13:/src/mac/wave.cpp?ds=sidebyside 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) {