X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bbe0af5b15f8b8e95ed45abc2140fb3a1fac3c87..d54e4256740c8d08f0bec44b54b18fd56bdad7d6:/src/gtk/wave.cpp diff --git a/src/gtk/wave.cpp b/src/gtk/wave.cpp index 2436c23461..0801a93663 100644 --- a/src/gtk/wave.cpp +++ b/src/gtk/wave.cpp @@ -48,7 +48,7 @@ wxWave::wxWave(const wxString& sFileName, bool isResource) Create(sFileName, isResource); } -wxWave::wxWave(int size, const byte* data) +wxWave::wxWave(int size, const wxByte* data) : m_waveLength(0), m_isResource(FALSE), m_waveData(NULL) { Create(size, data); @@ -80,7 +80,7 @@ bool wxWave::Create(const wxString& fileName, bool isResource) m_waveLength = (int) fileWave.Length(); - m_waveData = new byte[m_waveLength]; + m_waveData = new wxByte[m_waveLength]; if (!m_waveData) { return FALSE; @@ -92,12 +92,12 @@ bool wxWave::Create(const wxString& fileName, bool isResource) } } -bool wxWave::Create(int size, const byte* data) +bool wxWave::Create(int size, const wxByte* data) { Free(); m_isResource = FALSE; m_waveLength=size; - m_waveData = new byte[size]; + m_waveData = new wxByte[size]; if (!m_waveData) { return FALSE;