wxFontEnumerator::GetFacenames/Encodings() now return arrays and not pointers to them (patch 1483341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,13 +67,8 @@ TAG_HANDLER_BEGIN(FONT, "FONT" )
|
||||
if (tag.HasParam(wxT("FACE")))
|
||||
{
|
||||
if (m_Faces.GetCount() == 0)
|
||||
{
|
||||
wxFontEnumerator enu;
|
||||
enu.EnumerateFacenames();
|
||||
const wxArrayString *faces = enu.GetFacenames();
|
||||
if ( faces )
|
||||
m_Faces = *faces;
|
||||
}
|
||||
m_Faces = wxFontEnumerator::GetFacenames();
|
||||
|
||||
wxStringTokenizer tk(tag.GetParam(wxT("FACE")), wxT(","));
|
||||
int index;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user