added QueryRawValue() to wxRegKey and test code for it in the sample
[wxWidgets.git] / contrib / src / xml / xmlbinz.cpp
index a65d81bd9939f3e889ec0e14bd09c5dc3930b4e7..db42f205ca7636df0bbb3a23bf9d3dc96c6dc682 100644 (file)
@@ -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);
 }