- children->GetPropVal( wxT("name") , &name ) ;
- propertyNames.push_back( name.c_str() ) ;
- propertyNodes[name.c_str()] = children->GetChildren() ;
+ children->GetAttribute( wxT("name") , &name ) ;
+ propertyNames.push_back( (const wxChar*)name.c_str() ) ;
+ propertyNodes[(const wxChar*)name.c_str()] = children->GetChildren() ;