#include "wx/mac/private.h" // includes mac headers
#endif
-#if defined(__WXOSX__)
- #include "wx/mac/corefoundation/cfstring.h"
- #include "wx/mac/corefoundation/cfref.h"
-#endif
-
// ----------------------------------------------------------------------------
// simple types
// ----------------------------------------------------------------------------
}
#elif defined(__WXMAC__)
TextEncoding encoding = 0 ;
-#if TARGET_CARBON
encoding = CFStringGetSystemEncoding() ;
-#else
- UpgradeScriptInfoToTextEncoding ( smSystemScript , kTextLanguageDontCare , kTextRegionDontCare , NULL , &encoding ) ;
-#endif
return wxMacGetFontEncFromSystemEnc( encoding ) ;
#elif defined(__UNIX_LIKE__) && wxUSE_FONTMAP
const wxString encname = GetSystemEncodingName();
err = ICStart(&inst, 'STKA'); // put your app creator code here
if (err == noErr)
{
-#if !TARGET_CARBON
- err = ICFindConfigFile(inst, 0, NULL);
-#endif
if (err == noErr)
{
ConstStr255Param hint = 0;