]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/font.cpp
Reorder event things a little.
[wxWidgets.git] / src / x11 / font.cpp
index c5b726de0ee426260cb3b0d7892883098aa96a00..0c8dc0307db930e73338a695b89f77dc83b7dd46 100644 (file)
@@ -243,6 +243,9 @@ void wxFontRefData::InitFromNative()
             break;
     }
 
+// Not defined in some Pango versions
+#define wxPANGO_WEIGHT_SEMIBOLD 600
+
     switch (pango_font_description_get_weight( desc ))
     {
         case PANGO_WEIGHT_ULTRALIGHT:
@@ -258,7 +261,7 @@ void wxFontRefData::InitFromNative()
             m_weight = wxFONTWEIGHT_NORMAL;
             break;
 
-        case PANGO_WEIGHT_SEMIBOLD:
+        case wxPANGO_WEIGHT_SEMIBOLD:
         case PANGO_WEIGHT_BOLD:
         case PANGO_WEIGHT_ULTRABOLD:
         case PANGO_WEIGHT_HEAVY: