void wxFontRefData::SetNativeFontInfo(const wxNativeFontInfo& info) { m_nativeFontInfo = info; // set all the other font parameters from the native font info InitFromNative(); }
wxFontRefData::wxFontRefData(const wxString& fontname) { // FromString() should really work in GTK1 too, doesn't it? m_nativeFontInfo.SetXFontName(fontname); InitFromNative(); }
void wxFontRefData::SetNativeFontInfo(const wxNativeFontInfo& info) { // previously cached fonts shouldn't be used ClearGdkFonts(); m_nativeFontInfo = info; // set all the other font parameters from the native font info InitFromNative(); }
wxFontRefData::wxFontRefData(const wxString& fontname) { // VZ: FromString() should really work in both cases, doesn't it? #if wxUSE_UNICODE m_nativeFontInfo.FromString( fontname ); #else m_nativeFontInfo.SetXFontName(fontname); #endif InitFromNative(); }
wxFontRefData::wxFontRefData(const wxString& fontname) { m_nativeFontInfo.FromString( fontname ); InitFromNative(); }
wxFontRefData::wxFontRefData(const wxString& nativeFontInfoString) { m_nativeFontInfo.FromString( nativeFontInfoString ); InitFromNative(); }