X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a737331db68b754c8bf31fa0a15f6d1f207b40bf..e4b4d60e568af6b48054868ff85ee8ea59e9b0d8:/include/wx/wfstream.h diff --git a/include/wx/wfstream.h b/include/wx/wfstream.h index b0f4dbb02a..efd9317e1f 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 @@ -29,7 +33,7 @@ class wxFileInputStream: public wxInputStream { ~wxFileInputStream(); char Peek(); - size_t StreamSize() const; + size_t GetSize() const; bool Ok() const { return m_file->IsOpened(); } @@ -57,7 +61,7 @@ class wxFileOutputStream: public wxOutputStream { // { return wxOutputStream::Write(buffer, size); } void Sync(); - size_t StreamSize() const; + size_t GetSize() const; bool Ok() const { return m_file->IsOpened(); } @@ -79,3 +83,8 @@ class wxFileStream: public wxFileInputStream, public wxFileOutputStream { }; #endif + // wxUSE_STREAMS && wxUSE_FILE + +#endif + // _WX_WXFSTREAM_H__ +