]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xmlbinz.cpp
removed libxpm dependencies from makefiles
[wxWidgets.git] / contrib / src / xml / xmlbinz.cpp
index a65d81bd9939f3e889ec0e14bd09c5dc3930b4e7..2a0cce9df706e7a30a0cb8fa5b70cf96d28f908e 100644 (file)
@@ -32,7 +32,7 @@
 bool wxXmlIOHandlerBinZ::CanLoad(wxInputStream& stream)
 {
     bool canread;
-    canread = (ReadHeader(stream) == _T("XMLBINZ"));
+    canread = (ReadHeader(stream) == wxT("XMLBINZ"));
     stream.SeekI(-9, wxFromCurrent);
     return canread;
 }
@@ -52,7 +52,7 @@ bool wxXmlIOHandlerBinZ::Load(wxInputStream& stream, wxXmlDocument& doc)
 {
     ReadHeader(stream);
     wxZlibInputStream costr(stream);
-    return wxXmlIOHandlerBin::Load(stream, doc);
+    return wxXmlIOHandlerBin::Load(costr, doc);
 }