]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wfstream.h
Updated testconf, fixed mistake in install.
[wxWidgets.git] / include / wx / wfstream.h
index 29f13ca1e43b096fff615e1eace693abff9948b7..65313efd053e5b1ccef81a86c981d1b0ddc514e7 100644 (file)
 #pragma interface "wfstream.h"
 #endif
 
+#include "wx/defs.h"
+
+#if wxUSE_STREAMS && wxUSE_FILE
+
 #include <wx/object.h>
 #include <wx/string.h>
 #include <wx/stream.h>
@@ -53,8 +57,8 @@ class wxFileOutputStream: public wxOutputStream {
   virtual ~wxFileOutputStream();
 
   // To solve an ambiguity on GCC
-  inline wxOutputStream& Write(const void *buffer, size_t size)
-     { return wxOutputStream::Write(buffer, size); }
+//  inline wxOutputStream& Write(const void *buffer, size_t size)
+//     { return wxOutputStream::Write(buffer, size); }
 
   void Sync();
   size_t StreamSize() const;
@@ -79,3 +83,8 @@ class wxFileStream: public wxFileInputStream, public wxFileOutputStream {
 };
 
 #endif
+  // wxUSE_STREAMS && wxUSE_FILE
+
+#endif
+  // _WX_WXFSTREAM_H__
+