Applied #10362: wxMac's wxSound doesn't work

By Cyball


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-09-28 08:12:24 +00:00
parent 1a956a9823
commit d8813f69c8
3 changed files with 75 additions and 161 deletions

View File

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