]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stream.cpp
compilation fix for !wxUSE_ON_FATAL_EXCEPTION
[wxWidgets.git] / src / common / stream.cpp
index 62a8e98e7d971ac09cccf308b5e7c6bd787278b1..e797ad3f67686662de7508628230724fddfc7371 100644 (file)
@@ -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
 // ----------------------------------------------------------------------------