diff --git a/include/wx/mac/carbon/font.h b/include/wx/mac/carbon/font.h index b9e87b571e..9863e0325d 100644 --- a/include/wx/mac/carbon/font.h +++ b/include/wx/mac/carbon/font.h @@ -101,12 +101,14 @@ public: wxUint16 MacGetThemeFontID() const ; // Returns an ATSUStyle not ATSUStyle* - void* MacGetATSUStyle() const ; #endif #if wxMAC_USE_CORE_TEXT const void * MacGetCTFont() const; const void * MacGetCTFontDescriptor() const; #endif +#if wxMAC_USE_CORE_TEXT || wxMAC_USE_ATSU_TEXT + void* MacGetATSUStyle() const ; +#endif private: void Unshare();