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
This commit is contained in:
@@ -224,6 +224,7 @@ MyFrame::MyFrame(const wxString& title)
|
|||||||
|
|
||||||
bool MyFrame::CreateSound(wxSound& snd) const
|
bool MyFrame::CreateSound(wxSound& snd) const
|
||||||
{
|
{
|
||||||
|
#ifndef __WXMAC__
|
||||||
if ( m_useMemory )
|
if ( m_useMemory )
|
||||||
{
|
{
|
||||||
// this is the dump of cuckoo.wav
|
// this is the dump of cuckoo.wav
|
||||||
@@ -956,6 +957,7 @@ bool MyFrame::CreateSound(wxSound& snd) const
|
|||||||
|
|
||||||
return snd.Create(sizeof(data), data);
|
return snd.Create(sizeof(data), data);
|
||||||
}
|
}
|
||||||
|
#endif // !__WXMAC__
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
if ( !m_soundRes.empty() )
|
if ( !m_soundRes.empty() )
|
||||||
|
Reference in New Issue
Block a user