X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2aef89b7a675805b601e757492c982031f38d21..9406d962ccf50d63f163896a2dd94123a2a8664a:/src/msw/font.cpp diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 4541dbf2f6..66a9fdbb79 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -146,7 +146,7 @@ bool wxFont::RealizeResource(void) else if (M_FONTDATA->m_weight == wxBOLD) ff_weight = FW_BOLD; -#if defined(__X__) || (defined(__WINDOWS__) && USE_PORTABLE_FONTS_IN_MSW) +#if defined(__X__) || (defined(__WXMSW__) && USE_PORTABLE_FONTS_IN_MSW) ff_face = wxTheFontNameDirectory.GetScreenName(M_FONTDATA->m_family, M_FONTDATA->m_weight, M_FONTDATA->m_style); #else ff_face = M_FONTDATA->m_faceName;