[wxGTK2] Move wxFontRefData::SetPointSize to wxNativeFontInfo. Implement SetFaceName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -202,9 +202,9 @@ wxFontEncoding wxNativeFontInfo::GetEncoding() const
|
||||
}
|
||||
|
||||
|
||||
void wxNativeFontInfo::SetPointSize(int WXUNUSED(pointsize))
|
||||
void wxNativeFontInfo::SetPointSize(int pointsize)
|
||||
{
|
||||
wxFAIL_MSG( _T("not implemented") );
|
||||
pango_font_description_set_size( description, pointsize * PANGO_SCALE );
|
||||
}
|
||||
|
||||
void wxNativeFontInfo::SetStyle(wxFontStyle style)
|
||||
@@ -249,9 +249,9 @@ void wxNativeFontInfo::SetUnderlined(bool WXUNUSED(underlined))
|
||||
wxFAIL_MSG( _T("not implemented") );
|
||||
}
|
||||
|
||||
void wxNativeFontInfo::SetFaceName(wxString WXUNUSED(facename))
|
||||
void wxNativeFontInfo::SetFaceName(wxString facename)
|
||||
{
|
||||
wxFAIL_MSG( _T("not implemented") );
|
||||
pango_font_description_set_family( description, wxGTK_CONV(facename) );
|
||||
}
|
||||
|
||||
void wxNativeFontInfo::SetFamily(wxFontFamily WXUNUSED(family))
|
||||
|
Reference in New Issue
Block a user