X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9ff9d30c0aab3b281ef9b380eac17435556c5088..fada8bef05c36e3bae29f9442f8d32b024905207:/src/gtk/fontdlg.cpp?ds=sidebyside 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__