]> git.saurik.com Git - wxWidgets.git/commitdiff
removing 10.5 version checks
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 23 Dec 2012 19:28:03 +0000 (19:28 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 23 Dec 2012 19:28:03 +0000 (19:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/carbon/fontdlg.cpp

index 0a3cc628123e58518255423b67b8dd0aedeef12f..d9f1f99ede08e3290af1e8e6729e1f477bf03b2a 100644 (file)
@@ -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<CTFontDescriptorRef>( 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);