X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f4a8c29f7a3ffa7eb60d9b7f055565eb2df368d9..4e13eb84aa259d039d44833fe496b9657a2af0cd:/src/common/objstrm.cpp?ds=sidebyside diff --git a/src/common/objstrm.cpp b/src/common/objstrm.cpp index 2bb34f1c59..2d916d629f 100644 --- a/src/common/objstrm.cpp +++ b/src/common/objstrm.cpp @@ -12,6 +12,20 @@ #pragma implementation "objstrm.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ +#pragma hdrstop +#endif + +#ifndef WX_PRECOMP +#include "wx/defs.h" +#include "wx/setup.h" +#endif + +#if wxUSE_SERIAL + #include "wx/object.h" #include "wx/objstrm.h" #include "wx/datstrm.h" @@ -163,6 +177,7 @@ bool wxObjectOutputStream::SaveObject(wxObject& obj) wxObjectInputStream::wxObjectInputStream(wxInputStream& s) : wxFilterInputStream(s) { + m_secondcall = FALSE; } wxObject *wxObjectInputStream::SolveName(const wxString& name) const @@ -310,3 +325,6 @@ wxObject *wxObjectInputStream::LoadObject() return object; } + +#endif +