diff --git a/src/osx/carbon/font.cpp b/src/osx/carbon/font.cpp index fcd8f90466..c5b0cd5da8 100644 --- a/src/osx/carbon/font.cpp +++ b/src/osx/carbon/font.cpp @@ -25,10 +25,11 @@ #include "wx/graphics.h" #include "wx/settings.h" -#if wxOSX_USE_CARBON -#include "wx/osx/uma.h" -#else #include "wx/osx/private.h" + +#if wxOSX_USE_ATSU_TEXT && !wxOSX_USE_CARBON +// include themeing support +#include #endif #include