backport, get rid of performance warnings "For best performance, only use PostScript names when calling this API", see #15999

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@76396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2014-04-25 14:35:21 +00:00
parent a246e4c911
commit f82bf771e2
2 changed files with 23 additions and 5 deletions

View File

@@ -155,6 +155,9 @@ public:
void Free();
void EnsureValid();
static void UpdateNamesMap(const wxString& familyname, CTFontDescriptorRef descr);
static void UpdateNamesMap(const wxString& familyname, CTFontRef font);
bool m_descriptorValid;
#if wxOSX_USE_ATSU_TEXT