Ticket #10245, UTF-8 font face name of GTK 2 font dialog box

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-12-08 10:36:46 +00:00
parent 3630713bd0
commit 7b2575e2c4

View File

@@ -142,7 +142,7 @@ wxFontDialog::~wxFontDialog()
void wxFontDialog::SetChosenFont(const char *fontname)
{
m_fontData.SetChosenFont(wxFont( wxString::FromAscii(fontname) ));
m_fontData.SetChosenFont(wxFont( wxString::FromUTF8(fontname) ));
}
#endif // wxUSE_FONTDLG && !__WXGPE__