m_underlined = underlined;
m_encoding = encoding;
-
+#ifdef __WXGTK20__
// Create native font info
m_nativeFontInfo.description = pango_font_description_new();
// And set its values
switch (m_family)
{
+ case wxFONTFAMILY_MODERN:
case wxFONTFAMILY_TELETYPE:
- pango_font_description_set_family( m_nativeFontInfo.description, "monospaced" );
+ pango_font_description_set_family( m_nativeFontInfo.description, "monospace" );
break;
case wxFONTFAMILY_SWISS:
pango_font_description_set_family( m_nativeFontInfo.description, "serif" );
SetStyle( m_style );
SetPointSize( m_pointSize );
SetWeight( m_weight );
+#endif
}
wxFontRefData::wxFontRefData( const wxFontRefData& data )
break;
}
- if (m_faceName == wxT("monospaced"))
+ if (m_faceName == wxT("monospace"))
{
m_family = wxFONTFAMILY_TELETYPE;
}