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:
@@ -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__
|
||||
|
Reference in New Issue
Block a user