diff --git a/src/gtk/font.cpp b/src/gtk/font.cpp index cc862c4931..a27989e105 100644 --- a/src/gtk/font.cpp +++ b/src/gtk/font.cpp @@ -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; diff --git a/src/gtk1/font.cpp b/src/gtk1/font.cpp index cc862c4931..a27989e105 100644 --- a/src/gtk1/font.cpp +++ b/src/gtk1/font.cpp @@ -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;