]> git.saurik.com Git - wxWidgets.git/commitdiff
Make wxTELETYPE and wxMODERN map to monospaced fonts.
authorRobert Roebling <robert@roebling.de>
Mon, 19 Aug 2002 16:59:24 +0000 (16:59 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 19 Aug 2002 16:59:24 +0000 (16:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/font.cpp
src/gtk1/font.cpp

index cc862c493183c4407ce98443e9622fe459412a52..a27989e1056d09f3cce2d17cb9d8514f4146d089 100644 (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;
index cc862c493183c4407ce98443e9622fe459412a52..a27989e1056d09f3cce2d17cb9d8514f4146d089 100644 (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;