From 1a956a98233e203bd2f135696a7648923b250def Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 28 Sep 2009 07:21:52 +0000 Subject: [PATCH] Compile fix on Mac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/sound/sound.cpp | 2 ++ 1 file changed, 2 insertions(+) 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() )