Changed __GTK__, __WINDOWS__ and __MOTIF__ to __WXGTK__, __WXMSW__ and __WXMOTIF__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user