#if wxOSX_USE_EXPERIMENTAL_FONTDIALOG
IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
#if wxOSX_USE_EXPERIMENTAL_FONTDIALOG
IMPLEMENT_DYNAMIC_CLASS(wxFontDialog, wxDialog)
// ---------------------------------------------------------------------------
// wxFontDialog
// ---------------------------------------------------------------------------
// ---------------------------------------------------------------------------
// wxFontDialog
// ---------------------------------------------------------------------------
static const EventTypeSpec eventList[] =
{
{ kEventClassFont, kEventFontSelection } ,
static const EventTypeSpec eventList[] =
{
{ kEventClassFont, kEventFontSelection } ,
if ( cEvent.GetParameter<CTFontDescriptorRef>( kEventParamCTFontDescriptor, typeCTFontDescriptorRef, &descr ) == noErr )
{
wxFont font;
if ( cEvent.GetParameter<CTFontDescriptorRef>( kEventParamCTFontDescriptor, typeCTFontDescriptorRef, &descr ) == noErr )
{
wxFont font;
err = SetFontInfoForSelection (kFontSelectionCoreTextType,1, &descr , NULL);
err = SetFontInfoForSelection (kFontSelectionCoreTextType,1, &descr , NULL);
wxFontEnumerator enumerator;
enumerator.EnumerateFacenames();
wxArrayString facenames = enumerator.GetFacenames();
wxFontEnumerator enumerator;
enumerator.EnumerateFacenames();
wxArrayString facenames = enumerator.GetFacenames();