]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xtixml.cpp
require libsm-dev, it's needed for KDE/GNOME detection
[wxWidgets.git] / src / common / xtixml.cpp
index 91b094d6ebb9657cd68b142564c7df13c727b7f2..ed5039461b1a8d4f2e01f0647db27c080d7c4bfd 100644 (file)
@@ -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() ;
     }