]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/font.cpp
fixed all the other ports broken by controls labels in wxToolBar patch commit
[wxWidgets.git] / src / gtk / font.cpp
index b3983ccb8a510cb864b67ac78e7e2f10f615c0e2..11e7b20c644e18e6132feaad0097a991be110154 100644 (file)
@@ -127,6 +127,8 @@ private:
     friend class wxFont;
 };
 
+#define M_FONTDATA ((wxFontRefData*)m_refData)
+
 // ----------------------------------------------------------------------------
 // wxFontRefData
 // ----------------------------------------------------------------------------
@@ -199,7 +201,7 @@ void wxFontRefData::InitFromNative()
     PangoFontDescription *desc = m_nativeFontInfo.description;
 
     // init fields
-    m_faceName = wxGTK_CONV_BACK( pango_font_description_get_family( desc ) );
+    m_faceName = wxGTK_CONV_BACK_SYS(pango_font_description_get_family(desc));
 
     // Pango sometimes needs to have a size
     int pango_size = pango_font_description_get_size( desc );