git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16381 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
     m_underlined = underlined;
     m_encoding = encoding;
     
-    
+#ifdef __WXGTK20__    
     // Create native font info
     m_nativeFontInfo.description = pango_font_description_new();
 
     SetStyle( m_style );
     SetPointSize( m_pointSize );
     SetWeight( m_weight );
+#endif
 }
 
 wxFontRefData::wxFontRefData( const wxFontRefData& data )
 
     m_underlined = underlined;
     m_encoding = encoding;
     
-    
+#ifdef __WXGTK20__    
     // Create native font info
     m_nativeFontInfo.description = pango_font_description_new();
 
     SetStyle( m_style );
     SetPointSize( m_pointSize );
     SetWeight( m_weight );
+#endif
 }
 
 wxFontRefData::wxFontRefData( const wxFontRefData& data )