#pragma hdrstop
#endif
-#if wxUSE_FONTMAP
-
#include "wx/encconv.h"
#include <stdlib.h>
#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
}
-#define REPLACEMENT_CHAR (tchar('?'))
+#define REPLACEMENT_CHAR ((tchar)'?')
inline tchar GetTableValue(const tchar *table, tchar value, bool& repl)
{
return arr;
}
-#endif // wxUSE_FONTMAP