diff --git a/samples/sound/sound.cpp b/samples/sound/sound.cpp index a517d1a405..f42ba21cd8 100644 --- a/samples/sound/sound.cpp +++ b/samples/sound/sound.cpp @@ -224,6 +224,7 @@ MyFrame::MyFrame(const wxString& title) bool MyFrame::CreateSound(wxSound& snd) const { +#ifndef __WXMAC__ if ( m_useMemory ) { // this is the dump of cuckoo.wav @@ -956,6 +957,7 @@ bool MyFrame::CreateSound(wxSound& snd) const return snd.Create(sizeof(data), data); } +#endif // !__WXMAC__ #ifdef __WXMSW__ if ( !m_soundRes.empty() )