From 5b9255698ac3ade7e00e3d5efef95b223e3c9cae Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 20 Jan 2002 16:24:54 +0000 Subject: [PATCH] added constructor for compliance with wxPython git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/wave.cpp | 5 +++++ src/mac/wave.cpp | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/mac/carbon/wave.cpp b/src/mac/carbon/wave.cpp index 205c5d5ceb..7cc1c23534 100644 --- a/src/mac/carbon/wave.cpp +++ b/src/mac/carbon/wave.cpp @@ -41,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) { diff --git a/src/mac/wave.cpp b/src/mac/wave.cpp index 205c5d5ceb..7cc1c23534 100644 --- a/src/mac/wave.cpp +++ b/src/mac/wave.cpp @@ -41,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) {