added constructor for compliance with wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ca5e5bad86
commit
5b9255698a
@ -41,6 +41,11 @@ wxWave::~wxWave()
|
|||||||
Free();
|
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)
|
bool wxWave::Create(const wxString& fileName, bool isResource)
|
||||||
{
|
{
|
||||||
|
@ -41,6 +41,11 @@ wxWave::~wxWave()
|
|||||||
Free();
|
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)
|
bool wxWave::Create(const wxString& fileName, bool isResource)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user