/////////////////////////////////////////////////////////////////////////////
-// Name: src/cocoa/mediactrl.cpp
+// Name: src/cocoa/mediactrl.mm
// Purpose: Built-in Media Backends for Cocoa
// Author: Ryan Norton <wxprojects@comcast.net>
// Modified by:
#pragma hdrstop
#endif
-//---------------------------------------------------------------------------
-// Includes
-//---------------------------------------------------------------------------
-#include "wx/mediactrl.h"
-
//---------------------------------------------------------------------------
// Compilation guard
//---------------------------------------------------------------------------
#if wxUSE_MEDIACTRL
+#include "wx/mediactrl.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/timer.h"
+#endif
+
//===========================================================================
// BACKEND DECLARATIONS
//===========================================================================
//---------------------------------------------------------------------------
// QT Includes
//---------------------------------------------------------------------------
-#include "wx/timer.h"
#include <QuickTime/QuickTime.h>
#include "wx/cocoa/autorelease.h"