X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8aa3cd14b57820dc30ed2034e35e39623ac45c95..0bbe61b8c18a1795189f0cf73cc61c14a0fb846d:/src/common/fs_filter.cpp diff --git a/src/common/fs_filter.cpp b/src/common/fs_filter.cpp index 4a96eed7f1..621fed3a23 100644 --- a/src/common/fs_filter.cpp +++ b/src/common/fs_filter.cpp @@ -17,7 +17,7 @@ #include "wx/fs_filter.h" -#ifndef WXPRECOMP +#ifndef WX_PRECOMP #endif #include "wx/ptr_scpd.h" @@ -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