// 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"
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:
}
wxString xFontName = M_FONTDATA->m_nativeFontInfo.GetXFontName();
+ if (xFontName == "-*-*-*-*-*--*-*-*-*-*-*-*-*")
+ // wxFont constructor not called with native font info parameter => take M_FONTDATA values
+ xFontName.Clear();
// not found, create a new one
XFontStruct *font = (XFontStruct *)