X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b46f221ff3a68c8f3a14ac6a67eb4923c266faf8..af27647706cb7ca50cf04814ff867532919a252c:/include/wx/osx/carbon/font.h diff --git a/include/wx/osx/carbon/font.h b/include/wx/osx/carbon/font.h index a9f62f22c9..d2dcb558ae 100644 --- a/include/wx/osx/carbon/font.h +++ b/include/wx/osx/carbon/font.h @@ -50,7 +50,9 @@ public: bool Create(const wxNativeFontInfo& info); +#if wxOSX_USE_CARBON bool MacCreateFromThemeFont( wxUint16 themeFontID ) ; +#endif #if wxOSX_USE_CORE_TEXT bool MacCreateFromUIFont( wxUint32 coreTextFontType ); bool MacCreateFromCTFontDescriptor( const void * ctFontDescriptor, int pointSize = 0 ); @@ -104,7 +106,6 @@ public: #endif #if wxOSX_USE_CORE_TEXT const void * MacGetCTFont() const; - const void * MacGetCTFontDescriptor() const; #endif #if wxOSX_USE_CORE_TEXT || wxOSX_USE_ATSU_TEXT void* MacGetATSUStyle() const ;