X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd1dc2a7e6718503f71fd1b11da1dbdf94ffb826..43c5b6e808f083617eb42cb48e77366844f8fb5c:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 4e16824db1..dbc1eeec4d 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4305,13 +4305,9 @@ void wxGenericListCtrl::CreateOrDestroyHeaderWindowAsNeeded() wxTAB_TRAVERSAL ); -#if defined( __WXMAC__ ) && wxOSX_USE_COCOA_OR_CARBON +#if defined( __WXMAC__ ) wxFont font; -#if wxOSX_USE_ATSU_TEXT - font.MacCreateFromThemeFont( kThemeSmallSystemFont ); -#else - font.MacCreateFromUIFont( kCTFontSystemFontType ); -#endif + font.CreateSystemFont( wxOSX_SYSTEM_FONT_SMALL ); m_headerWin->SetFont( font ); #endif