X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/524c47aa3adf2af11a3069fd5da035a604f08f66..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/osx/carbon/gdiobj.cpp diff --git a/src/osx/carbon/gdiobj.cpp b/src/osx/carbon/gdiobj.cpp index 9dcae80012..f768d01bea 100644 --- a/src/osx/carbon/gdiobj.cpp +++ b/src/osx/carbon/gdiobj.cpp @@ -64,7 +64,7 @@ const wxFont* wxStockGDIMac::GetFont(Item item) #if wxOSX_USE_COCOA_OR_CARBON case FONT_NORMAL: font = new wxFont; -#if wxOSX_USE_CARBON +#if wxOSX_USE_ATSU_TEXT font->MacCreateFromThemeFont(kThemeSystemFont); #else font->MacCreateFromUIFont(kCTFontSystemFontType); @@ -72,7 +72,7 @@ const wxFont* wxStockGDIMac::GetFont(Item item) break; case FONT_SMALL: font = new wxFont; -#if wxOSX_USE_CARBON +#if wxOSX_USE_ATSU_TEXT font->MacCreateFromThemeFont(kThemeSmallSystemFont); #else font->MacCreateFromUIFont(kCTFontSmallSystemFontType);