]> git.saurik.com Git - wxWidgets.git/commitdiff
[wxX11] a ROMAN font is with serifs and a SWISS font is without. Set the font to...
authorMart Raudsepp <leio@gentoo.org>
Mon, 22 Aug 2005 21:58:32 +0000 (21:58 +0000)
committerMart Raudsepp <leio@gentoo.org>
Mon, 22 Aug 2005 21:58:32 +0000 (21:58 +0000)
not wxFONTFAMILY_SWISS.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/font.cpp

index 783a009b74bffc37a1a3257efdbd7781051a30d8..125cb3545e3a591dd82cae7c33c4dbce3556140b 100644 (file)
@@ -202,7 +202,7 @@ void wxFontRefData::Init(int pointSize,
         case wxFONTFAMILY_TELETYPE:
            pango_font_description_set_family( m_nativeFontInfo.description, "monospace" );
            break;
-        case wxFONTFAMILY_SWISS:
+        case wxFONTFAMILY_ROMAN:
            pango_font_description_set_family( m_nativeFontInfo.description, "serif" );
            break;
         default: