]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_filter.cpp
Implemented forceTrueColour in SetBestVisual.
[wxWidgets.git] / src / common / fs_filter.cpp
index 4a96eed7f131b53c0e75314e65a82b6e9e1e66d6..d9c5f51cc33b65e7bc335ded7f79b2cfe7c1e8af 100644 (file)
@@ -56,7 +56,7 @@ wxFSFile* wxFilterFSHandler::OpenFile(
     if (!leftStream.get() || !leftStream->IsOk())
         return NULL;
 
-    wxInputStreamPtr stream(factory->NewStream(leftStream.get()));
+    wxInputStreamPtr stream(factory->NewStream(leftStream.release()));
 
     // The way compressed streams are supposed to be served is e.g.:
     //  Content-type: application/postscript