X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e75491071dbefcada61175e3eb89ce4edf335983..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/mac/carbon/font.cpp?ds=sidebyside diff --git a/src/mac/carbon/font.cpp b/src/mac/carbon/font.cpp index d7d7b12cc8..988d1c81e2 100644 --- a/src/mac/carbon/font.cpp +++ b/src/mac/carbon/font.cpp @@ -149,6 +149,15 @@ bool wxFont::RealizeResource() return TRUE; } +void wxFont::SetEncoding(wxFontEncoding encoding) +{ + Unshare(); + + M_FONTDATA->m_encoding = encoding; + + RealizeResource(); +} + void wxFont::Unshare() { // Don't change shared data @@ -232,11 +241,6 @@ int wxFont::GetFamily() const return M_FONTDATA->m_family; } -int wxFont::GetFontId() const -{ - return M_FONTDATA->m_fontId; -} - int wxFont::GetStyle() const { return M_FONTDATA->m_style;