wxNode *node = wxSoundHandleList->Find((long)hWnd);
if (!node)
return NULL;
- return (wxSoundStreamWin *)node->Data();
+ return (wxSoundStreamWin *)node->GetData();
}
struct _wxSoundInternal {
// -------------------------------------------------------------------------
// SetSoundFormat()
// -------------------------------------------------------------------------
-bool wxSoundStreamWin::SetSoundFormat(wxSoundFormatBase& base)
+bool wxSoundStreamWin::SetSoundFormat(const wxSoundFormatBase& base)
{
// TODO: detect best format
return wxSoundStream::SetSoundFormat(base);