]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/fontdlg.cpp
refactor wxDocChildFrame and wxDocMDIChildFrame to use wxDocChildFrameAny intead...
[wxWidgets.git] / src / gtk / fontdlg.cpp
index 8cb4f89917ef712f03525c54952e4ddeb157dcaf..a1df8d00e544016679f80b02aff4b44271a6d47b 100644 (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__