X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ff9d30c0aab3b281ef9b380eac17435556c5088..3f8cdda4851796e5f5f5bcd82d9e867a30581a6f:/src/gtk/fontdlg.cpp diff --git a/src/gtk/fontdlg.cpp b/src/gtk/fontdlg.cpp index 8cb4f89917..a1df8d00e5 100644 --- a/src/gtk/fontdlg.cpp +++ b/src/gtk/fontdlg.cpp @@ -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__