#include "wx/font.h"
#include "wx/gdicmn.h"
-#if !USE_SHARED_LIBRARIES
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
-#endif
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;