]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docview.h
Removed unnecessary code from utilsunx.cpp
[wxWidgets.git] / include / wx / docview.h
index b2c0b7dedf550d5b7a512942bfaa7b469d2ddaf8..592a7439dbab7fa6b7f32b3b7766f8cc8271bca4 100644 (file)
@@ -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__