]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/wave.cpp
keep name of wxmac icon for application bundles unstead of renaming it
[wxWidgets.git] / src / mac / wave.cpp
index d06eee48380ed2d31fd0e75a727ff983a968124e..7cc1c23534e219a0ca126b1df8e889844296a8c9 100644 (file)
@@ -19,6 +19,9 @@
 
 #ifdef __WXMAC__
 #include "wx/mac/private.h"
+#ifndef __DARWIN__
+#include <Sound.h>
+#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)
 {