X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd5e2346d39a5465b8b15da90cef6138735fd76b..ba059d80b40d7f1f249afa17b57d682f8b0e8b93:/include/wx/wfstream.h?ds=sidebyside diff --git a/include/wx/wfstream.h b/include/wx/wfstream.h index 29f13ca1e4..52c23478a7 100644 --- a/include/wx/wfstream.h +++ b/include/wx/wfstream.h @@ -16,6 +16,10 @@ #pragma interface "wfstream.h" #endif +#include "wx/defs.h" + +#if wxUSE_STREAMS && wxUSE_FILE + #include #include #include @@ -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