git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54050
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+ wxArrayString fontFamilies ;
+
+#if wxMAC_USE_ATSU_TEXT || wxMAC_USE_CORE_TEXT
+
//
// From Apple's QA 1471 http://developer.apple.com/qa/qa2006/qa1471.html
//
//
// From Apple's QA 1471 http://developer.apple.com/qa/qa2006/qa1471.html
//
ATSFontFamilyRef theATSFontFamilyRef = 0;
OSStatus status = noErr;
ATSFontFamilyRef theATSFontFamilyRef = 0;
OSStatus status = noErr;
- wxArrayString fontFamilies ;
-
// Create the iterator
status = ATSFontFamilyIteratorCreate(kATSFontContextLocal, nil,nil,
kATSOptionFlagsUnRestrictedScope,
// Create the iterator
status = ATSFontFamilyIteratorCreate(kATSFontContextLocal, nil,nil,
kATSOptionFlagsUnRestrictedScope,
}
}
ATSFontFamilyIteratorRelease(&theFontFamilyIterator);
}
}
ATSFontFamilyIteratorRelease(&theFontFamilyIterator);
for ( size_t i = 0 ; i < fontFamilies.Count() ; ++i )
{
for ( size_t i = 0 ; i < fontFamilies.Count() ; ++i )
{