if ( def && def->font_desc )
{
wxNativeFontInfo info;
- info.description = def->font_desc;
+ info.description =
+ pango_font_description_copy(def->font_desc);
gs_objects.m_fontSystem = wxFont(info);
}
else
case wxSYS_ICON_X: return 32;
case wxSYS_ICON_Y: return 32;
default:
- wxFAIL_MSG( wxT("wxSystemSettings::GetMetric not fully implemented") );
- return 0;
+ return -1; // metric is unknown
}
}