#include "wx/fs_filter.h"
-#ifndef WXPRECOMP
+#ifndef WX_PRECOMP
#endif
-#include "wx/ptr_scpd.h"
+#include "wx/scopedptr.h"
wxDEFINE_SCOPED_PTR_TYPE(wxFSFile)
wxDEFINE_SCOPED_PTR_TYPE(wxInputStream)
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