X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd5e2346d39a5465b8b15da90cef6138735fd76b..d4c241b9e6b05a6a2ca5b701d25792994a52c023:/include/wx/wfstream.h diff --git a/include/wx/wfstream.h b/include/wx/wfstream.h index 29f13ca1e4..65313efd05 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,8 @@ class wxFileStream: public wxFileInputStream, public wxFileOutputStream { }; #endif + // wxUSE_STREAMS && wxUSE_FILE + +#endif + // _WX_WXFSTREAM_H__ +