X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5da0ce7cb746318511b3974b7882c72c0de45e2..dc7bf04dcf0da7699d48f8820544437b68b8f8e4:/src/common/xtixml.cpp diff --git a/src/common/xtixml.cpp b/src/common/xtixml.cpp index 91b094d6eb..ed5039461b 100644 --- a/src/common/xtixml.cpp +++ b/src/common/xtixml.cpp @@ -306,8 +306,8 @@ int wxXmlReader::ReadComponent(wxXmlNode *node, wxDepersister *callbacks) { wxString name ; children->GetPropVal( wxT("name") , &name ) ; - propertyNames.push_back( name.c_str() ) ; - propertyNodes[name.c_str()] = children->GetChildren() ; + propertyNames.push_back( (const wxChar*)name.c_str() ) ; + propertyNodes[(const wxChar*)name.c_str()] = children->GetChildren() ; children = children->GetNext() ; }