wxFontEncoding encoding = font->GetEncoding();
if ( !wxGetNativeFontEncoding(encoding, &info) )
{
wxFontEncoding encoding = font->GetEncoding();
if ( !wxGetNativeFontEncoding(encoding, &info) )
{
{
// unsupported encoding, replace with the default
info.charset = ANSI_CHARSET;
{
// unsupported encoding, replace with the default
info.charset = ANSI_CHARSET;