]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xmlres.cpp
Updates for Y positioning
[wxWidgets.git] / src / xrc / xmlres.cpp
index ef687793569a2cd40de2d60d09dc680a101491b7..bd45b371852f511a889089724eac878cd1d1e5e5 100644 (file)
@@ -331,7 +331,7 @@ void wxXmlResource::UpdateResources()
                 delete m_data[i].Doc;
                 m_data[i].Doc = new wxXmlDocument;
             }
                 delete m_data[i].Doc;
                 m_data[i].Doc = new wxXmlDocument;
             }
-            if (!stream || !m_data[i].Doc->Load(*stream, wxXML_IO_AUTO, encoding))
+            if (!stream || !m_data[i].Doc->Load(*stream, encoding))
             {
                 wxLogError(_("Cannot load resources from file '%s'."),
                            m_data[i].File.c_str());
             {
                 wxLogError(_("Cannot load resources from file '%s'."),
                            m_data[i].File.c_str());