From b97d6fb1183ee1317258bea5ed1798546fccaf36 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 23 Dec 2012 19:28:03 +0000 Subject: [PATCH] removing 10.5 version checks git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/fontdlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/osx/carbon/fontdlg.cpp b/src/osx/carbon/fontdlg.cpp index 0a3cc62812..d9f1f99ede 100644 --- a/src/osx/carbon/fontdlg.cpp +++ b/src/osx/carbon/fontdlg.cpp @@ -78,7 +78,7 @@ wxMacCarbonFontPanelHandler(EventHandlerCallRef WXUNUSED(nextHandler), { bool setup = false ; #if wxOSX_USE_CORE_TEXT - if ( UMAGetSystemVersion() >= 0x1050 ) + if ( !setup ) { CTFontDescriptorRef descr; if ( cEvent.GetParameter( kEventParamCTFontDescriptor, typeCTFontDescriptorRef, &descr ) == noErr ) @@ -243,7 +243,7 @@ int wxFontDialog::ShowModal() bool setup = false; #if wxOSX_USE_CORE_TEXT - if ( UMAGetSystemVersion() >= 0x1050 ) + if ( !setup ) { CTFontDescriptorRef descr = (CTFontDescriptorRef) CTFontCopyFontDescriptor( (CTFontRef) font.OSXGetCTFont() ); err = SetFontInfoForSelection (kFontSelectionCoreTextType,1, &descr , NULL); -- 2.45.2