]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wfstream.h
wxList::SortFunc prototype corrected
[wxWidgets.git] / include / wx / wfstream.h
index 29f13ca1e43b096fff615e1eace693abff9948b7..52c23478a7e937be65e1ed866bd6d21153c51898 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,7 @@ class wxFileStream: public wxFileInputStream, public wxFileOutputStream {
 };
 
 #endif
+  // wxUSE_STREAMS && wxUSE_FILE
+
+#endif
+  // _WX_WXFSTREAM_H__
\ No newline at end of file