return TRUE;
}
+void wxFont::SetEncoding(wxFontEncoding encoding)
+{
+ Unshare();
+
+ M_FONTDATA->m_encoding = encoding;
+
+ RealizeResource();
+}
+
void wxFont::Unshare()
{
// Don't change shared data
return M_FONTDATA->m_family;
}
-int wxFont::GetFontId() const
-{
- return M_FONTDATA->m_fontId;
-}
-
int wxFont::GetStyle() const
{
return M_FONTDATA->m_style;