bool wxFont::Create(wxSize size, wxFontFamily family, wxFontStyle style, wxFontWeight weight, bool underlined, const wxString& face, wxFontEncoding WXUNUSED(encoding) ) { m_refData = new wxFontRefData(size.GetHeight(), ConvertFontFamily(family), style != wxFONTSTYLE_NORMAL, ConvertFontWeight(weight), underlined, wxQtConvertString(face)); return true; }
void wxFont::SetWeight( wxFontWeight weight ) { AllocExclusive(); M_FONTDATA.setWeight(ConvertFontWeight(weight)); }
void wxNativeFontInfo::SetWeight(wxFontWeight weight) { m_qtFont.setWeight(ConvertFontWeight(weight)); }
void wxNativeFontInfo::SetNumericWeight(int weight) { m_qtFont.setWeight(ConvertFontWeight(weight)); }