Make wxTELETYPE and wxMODERN map to monospaced fonts.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-08-19 16:59:24 +00:00
parent 1241ab8ba0
commit a3c24e91eb
2 changed files with 2 additions and 0 deletions

View File

@@ -186,6 +186,7 @@ void wxFontRefData::Init(int pointSize,
// And set its values
switch (m_family)
{
case wxFONTFAMILY_MODERN:
case wxFONTFAMILY_TELETYPE:
pango_font_description_set_family( m_nativeFontInfo.description, "monospace" );
break;

View File

@@ -186,6 +186,7 @@ void wxFontRefData::Init(int pointSize,
// And set its values
switch (m_family)
{
case wxFONTFAMILY_MODERN:
case wxFONTFAMILY_TELETYPE:
pango_font_description_set_family( m_nativeFontInfo.description, "monospace" );
break;