]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/font.cpp
wxMotif for OS/2 adjustements. Source cleaning.
[wxWidgets.git] / src / x11 / font.cpp
index 783a009b74bffc37a1a3257efdbd7781051a30d8..53d2bebcca9378859e9dbbbb7636f88b93e662be 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "font.h"
-#endif
-
 #ifdef __VMS
 #pragma message disable nosimpint
 #include "wx/vms_x_fix.h"
@@ -202,7 +198,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: