X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e3f3880bc2b13b0ff90a60f676959989da732dd..dc7bf04dcf0da7699d48f8820544437b68b8f8e4:/src/common/xtixml.cpp diff --git a/src/common/xtixml.cpp b/src/common/xtixml.cpp index 7531d3df03..ed5039461b 100644 --- a/src/common/xtixml.cpp +++ b/src/common/xtixml.cpp @@ -18,18 +18,19 @@ #if wxUSE_EXTENDED_RTTI +#include "wx/xtixml.h" + #ifndef WX_PRECOMP #include "wx/object.h" #include "wx/hash.h" + #include "wx/event.h" #endif #include "wx/xml/xml.h" #include "wx/tokenzr.h" #include "wx/txtstrm.h" -#include "wx/event.h" #include "wx/xtistrm.h" -#include "wx/xtixml.h" #include "wx/beforestd.h" #include @@ -305,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() ; }