From 7f0b95bbe1a91228e1d34a0c3aaa2fd9050a86dd Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Mon, 9 Aug 2004 12:55:24 +0000 Subject: [PATCH] unicode fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/sound.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mac/carbon/sound.cpp b/src/mac/carbon/sound.cpp index e346f5c9d4..3c4920a0cb 100644 --- a/src/mac/carbon/sound.cpp +++ b/src/mac/carbon/sound.cpp @@ -228,7 +228,7 @@ inline bool wxInitQT () } else { - wxLogSysError("Quicktime is not installed, or Your Version of Quicktime is <= 4."); + wxLogSysError(wxT("Quicktime is not installed, or Your Version of Quicktime is <= 4.")); return false; } } @@ -273,7 +273,7 @@ bool wxSound::Create(const wxString& fileName, bool isResource) wxMacStringToPascal( fileName , lpSnd ) ; - m_sndname = lpSnd; + m_sndname = fileName; m_hSnd = (char*) GetNamedResource('snd ', (const unsigned char *) lpSnd); #else return false; @@ -322,7 +322,7 @@ bool wxSound::DoPlay(unsigned flags) const miComponent = OpenDefaultComponent(MovieImportType, kQTFileTypeAIFC); else { - wxLogSysError("wxSound - Location in memory does not contain valid data"); + wxLogSysError(wxT("wxSound - Location in memory does not contain valid data")); return false; } @@ -435,7 +435,7 @@ bool wxSound::DoPlay(unsigned flags) const if (flags & wxSOUND_SYNC) { - wxASSERT_MSG(!(flags & wxSOUND_LOOP), "Can't loop and play syncronously at the same time"); + wxASSERT_MSG(!(flags & wxSOUND_LOOP), wxT("Can't loop and play syncronously at the same time")); //Play movie until it ends, then exit while (!IsMovieDone(movie)) -- 2.47.2