X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2506310426546479e9e30a9639f0a8bbf879eb5..794bcc2dea743ac907b839f54e451847c9ea4b72:/include/wx/docview.h diff --git a/include/wx/docview.h b/include/wx/docview.h index b2c0b7dedf..592a7439db 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -619,6 +619,11 @@ protected: // converts from/to a stream to/from a temporary file. bool WXDLLEXPORT wxTransferFileToStream(const wxString& filename, ostream& stream); bool WXDLLEXPORT wxTransferStreamToFile(istream& stream, const wxString& filename); +#else +// For compatibility with existing file formats: +// converts from/to a stream to/from a temporary file. +bool WXDLLEXPORT wxTransferFileToStream(const wxString& filename, wxOutputStream& stream); +bool WXDLLEXPORT wxTransferStreamToFile(wxInputStream& stream, const wxString& filename); #endif #endif // _WX_DOCH__