]> git.saurik.com Git - wxWidgets.git/commitdiff
opening ATSU Font info for Ulrich Telle's wxPDFContext
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 30 Sep 2010 17:30:48 +0000 (17:30 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 30 Sep 2010 17:30:48 +0000 (17:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/osx/font.h
src/osx/carbon/font.cpp

index 829d9a4b59385bc8a1ccd038af5a11a98fc54d30..b05661b4b1f3d43308a67a37ec5a24e246bbb023 100644 (file)
@@ -146,11 +146,9 @@ public:
     void* MacGetATSUStyle() const ;
     void* OSXGetATSUStyle() const { return MacGetATSUStyle() ; }
 
-#if WXWIN_COMPATIBILITY_2_8
     wxDEPRECATED( wxUint32 MacGetATSUFontID() const );
     wxDEPRECATED( wxUint32 MacGetATSUAdditionalQDStyles() const );
 #endif
-#endif
 
 #if wxOSX_USE_COCOA
     WX_NSFont OSXGetNSFont() const;
index 360a7fa9aa3907e28ea3fcad89e31fdd7ae5e885..573f8681d0995c6a269db6c1d9b16f1d1099535e 100644 (file)
@@ -814,7 +814,6 @@ void * wxFont::MacGetATSUStyle() const
     return M_FONTDATA->m_macATSUStyle;
 }
 
-#if WXWIN_COMPATIBILITY_2_8
 wxUint32 wxFont::MacGetATSUFontID() const
 {
     wxCHECK_MSG( M_FONTDATA != NULL, 0, wxT("invalid font") );
@@ -836,8 +835,6 @@ wxUint32 wxFont::MacGetATSUAdditionalQDStyles() const
 }
 #endif
 
-#endif
-
 #if wxOSX_USE_CORE_TEXT
 
 CTFontRef wxFont::OSXGetCTFont() const