X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f0ff178513f59471bfce85cf6d7a78f4f4818ab..1ac4716dd2d6c75a017407a5fc59af11b20721b9:/src/common/stream.cpp diff --git a/src/common/stream.cpp b/src/common/stream.cpp index 62a8e98e7d..e797ad3f67 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -673,6 +673,20 @@ wxFileOffset wxStreamBase::OnSysTell() const return wxInvalidOffset; } +#if WXWIN_COMPATIBILITY_2_2 + +wxStreamError wxStreamBase::LastError() const +{ + return m_lasterror; +} + +size_t wxStreamBase::StreamSize() const +{ + return GetSize(); +} + +#endif // WXWIN_COMPATIBILITY_2_2 + // ---------------------------------------------------------------------------- // wxInputStream // ----------------------------------------------------------------------------