OSX two-level header fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -57,11 +57,8 @@
|
||||
#endif
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
// VZ: MacTypes.h is enough under Mac OS X (where I could test it) but
|
||||
// I don't know which headers are needed under earlier systems so
|
||||
// include everything when in doubt
|
||||
#ifdef __DARWIN__
|
||||
#include "MacTypes.h"
|
||||
#include <CoreServices/CoreServices.h>
|
||||
#else
|
||||
#include "wx/mac/private.h" // includes mac headers
|
||||
#endif
|
||||
|
@@ -36,10 +36,13 @@
|
||||
#endif
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#include <ATSUnicode.h>
|
||||
#include <TextCommon.h>
|
||||
#include <TextEncodingConverter.h>
|
||||
|
||||
#ifdef __DARWIN__
|
||||
#include <Carbon/Carbon.h>
|
||||
#else
|
||||
#include <ATSUnicode.h>
|
||||
#include <TextCommon.h>
|
||||
#include <TextEncodingConverter.h>
|
||||
#endif
|
||||
#include "wx/fontutil.h"
|
||||
#include "wx/mac/private.h" // includes mac headers
|
||||
|
||||
|
@@ -75,9 +75,11 @@
|
||||
#include "wx/utils.h"
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#ifndef __DARWIN__
|
||||
#include <ATSUnicode.h>
|
||||
#include <TextCommon.h>
|
||||
#include <TextEncodingConverter.h>
|
||||
#endif
|
||||
|
||||
#include "wx/mac/private.h" // includes mac headers
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user