/////////////////////////////////////////////////////////////////////////////
-// Name: src/mac/carbon/sound.cpp
+// Name: src/osx/carbon/sound.cpp
// Purpose: wxSound class implementation: optional
// Author: Ryan Norton
// Modified by: Stefan Csomor
//
#ifdef __WXMAC__
-#include "wx/mac/uma.h"
+#include "wx/osx/uma.h"
#ifndef __DARWIN__
#include <Movies.h>
#include <Gestalt.h>
#endif
#endif
+#if wxOSX_USE_COCOA
+#include "wx/osx/private.h"
+#endif
+
#include <Carbon/Carbon.h>
//quicktime media layer only required for mac emulation on pc
int nError;
//-2093 no dll
if ((nError = InitializeQTML(0)) != noErr)
+ {
wxLogSysError(wxString::Format(wxT("Couldn't Initialize Quicktime-%i"), nError));
+ }
#endif
EnterMovies();
return true;