X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ba0b7b323817e44903ba5ee199d17bbb166ed3d5..76a5e5d21ee1a6230d777ce0209b2df4c6075f0f:/src/common/stream.cpp diff --git a/src/common/stream.cpp b/src/common/stream.cpp index a65c6154d8..048544a225 100644 --- a/src/common/stream.cpp +++ b/src/common/stream.cpp @@ -38,7 +38,6 @@ #include #include "wx/stream.h" #include "wx/datstrm.h" -#include "wx/objstrm.h" #include "wx/textfile.h" // ---------------------------------------------------------------------------- @@ -850,19 +849,6 @@ off_t wxInputStream::TellI() const return pos; } -// -------------------- -// Overloaded operators -// -------------------- - -#if wxUSE_SERIAL -wxInputStream& wxInputStream::operator>>(wxObject *& obj) -{ - wxObjectInputStream obj_s(*this); - obj = obj_s.LoadObject(); - return *this; -} -#endif // wxUSE_SERIAL - // ---------------------------------------------------------------------------- // wxOutputStream @@ -913,14 +899,6 @@ void wxOutputStream::Sync() { } -#if wxUSE_SERIAL -wxOutputStream& wxOutputStream::operator<<(wxObject& obj) -{ - wxObjectOutputStream obj_s(*this); - obj_s.SaveObject(obj); - return *this; -} -#endif // wxUSE_SERIAL // ---------------------------------------------------------------------------- // wxCountingOutputStream