#endif
#ifdef __WXMAC__
+#ifndef __DARWIN__
#include <Timer.h>
#include <DriverServices.h>
+#else
+ #include <Carbon/Carbon.h>
+#endif
#endif
#ifdef __WXPALMOS__
#include "wx/arrstr.h"
#include "wx/mac/uma.h"
+#ifndef __DARWIN__
#include <Appearance.h>
+#endif
// ============================================================================
// implementation of wxCheckListBox
#include "wx/image.h"
#include "wx/metafile.h"
#include "wx/mac/private.h"
+#ifndef __DARWIN__
#include <Scrap.h>
+#endif
// ----------------------------------------------------------------------------
// functions
#endif
#include "wx/mac/private.h"
+#ifndef __DARWIN__
#include <ATSUnicode.h>
#include <TextCommon.h>
#include <TextEncodingConverter.h>
+#endif
IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
#include "wx/mac/private.h"
+#ifndef __DARWIN__
#include <Navigation.h>
+#endif
#include "MoreFilesX.h"
#include "wx/fontutil.h"
#include "wx/mac/private.h"
+#ifndef __DARWIN__
#include <ATSUnicode.h>
+#endif
#if !USE_SHARED_LIBRARIES
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
//uma is for wxMacFSSpec
#include "wx/mac/uma.h"
#include "wx/timer.h"
+#ifndef __DARWIN__
#include <Movies.h>
#include <Gestalt.h>
#include <QuickTimeComponents.h> //Standard QT stuff
+#else
+#include <QuickTime/QuickTimeComponents.h>
+#endif
//Determines whether version 4 of QT is installed (Pretty much for classic only)
Boolean _wxIsQuickTime4Installed (void)
// other standard headers
#include <ctype.h>
-#include <InternetConfig.h> //For mime types
+#ifndef __DARWIN__
+#include <InternetConfig.h> //For mime types
+#endif
/* START CODE SAMPLE FROM TECHNOTE 1002 (http://developer.apple.com/technotes/tn/tn1002.html) */
#if defined(__DARWIN__)
//on darwin, use launch services
-#include "LaunchServices.h"
+#include <ApplicationServices/ApplicationServices.h>
wxString wxFileTypeImpl::GetCommand(const wxString& verb) const
{
#ifdef __WXMAC__
#include "wx/mac/uma.h"
+#ifndef __DARWIN__
#include <Movies.h>
#include <Gestalt.h>
#endif
+#endif
#if defined __WXMAC__ && defined __DARWIN__/*TARGET_CARBON*/
#ifdef __APPLE_CC__
#include <qtml.h>
#endif
+#ifndef __DARWIN__
#include <QuickTimeComponents.h>
+#else
+#include <QuickTime/QuickTimeComponents.h>
+#endif
//Time between timer calls
#define MOVIE_DELAY 100
};
#endif
+#ifndef __DARWIN__
#include <MacTextEditor.h>
#include <ATSUnicode.h>
#include <TextCommon.h>
#include <TextEncodingConverter.h>
+#endif
#include "wx/mac/uma.h"
class wxMacFunctor
#include "wx/thread.h"
#ifdef __WXMAC__
-#if TARGET_API_MAC_OSX
+#ifdef __DARWIN__
#include <CoreServices/CoreServices.h>
#else
#include <DriverServices.h>
#if wxUSE_GUI
#include "wx/dc.h"
-#include <MacTextEditor.h>
#ifndef __DARWIN__
+# include <MacTextEditor.h>
# include <Navigation.h>
# if defined(TARGET_CARBON)
# if PM_USE_SESSION_APIS
#include <Multiprocessing.h>
#endif
+#ifdef __DARWIN__
+#include <Carbon/Carbon.h>
+#else
#include <ATSUnicode.h>
#include <TextCommon.h>
#include <TextEncodingConverter.h>
+#endif
#endif // wxUSE_GUI
#include "wx/mac/private.h" // includes mac headers