X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56d2f75071fc2a29ec10abe97c5a908bb35f30f4..ab708d5defa637ac6f284f94acb706d13cd15eb1:/contrib/src/xml/xmlbinz.cpp?ds=sidebyside diff --git a/contrib/src/xml/xmlbinz.cpp b/contrib/src/xml/xmlbinz.cpp index a65d81bd99..2a0cce9df7 100644 --- a/contrib/src/xml/xmlbinz.cpp +++ b/contrib/src/xml/xmlbinz.cpp @@ -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); }