X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d46359178b28cd86e189e877015a8e69ff5bbaa..ed6e7f8cfeb41348e13032c5a323d96bcfb22c6d:/src/mac/carbon/sound.cpp diff --git a/src/mac/carbon/sound.cpp b/src/mac/carbon/sound.cpp index c3afc15e01..b3ff384fc8 100644 --- a/src/mac/carbon/sound.cpp +++ b/src/mac/carbon/sound.cpp @@ -71,7 +71,7 @@ static wxTimer* lastSoundTimer=NULL; static bool lastSoundIsPlaying=false; -#if !defined(__DARWIN__) || !defined(__LP64__) +#if !defined(__LP64__) #define USE_QUICKTIME 1 #else #define USE_QUICKTIME 0 @@ -393,7 +393,7 @@ bool wxSound::DoPlay(unsigned flags) const Handle dataRef = NULL; OSType dataRefType; - err = QTNewDataReferenceFromFullPathCFString(wxMacCFStringHolder(m_sndname,wxLocale::GetSystemEncoding()), + err = QTNewDataReferenceFromFullPathCFString(wxCFStringRef(m_sndname,wxLocale::GetSystemEncoding()), (UInt32)kQTNativeDefaultPathStyle, 0, &dataRef, &dataRefType); wxASSERT(err == noErr);