// printf( "font %s\n", fontname );
- dialog->SetChosenFont(fontname);
+ dialog->SetChosenFont( fontname);
g_free( fontname );
void wxFontDialog::SetChosenFont(const char *fontname)
{
- m_fontData.SetChosenFont(wxFont(fontname));
+ m_fontData.SetChosenFont(wxFont( wxString::FromAscii(fontname) ));
}
#endif // wxUSE_FONTDLG