]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/objstrm.cpp
vsprintf() is ANSI so there is normally no need to test for it
[wxWidgets.git] / src / common / objstrm.cpp
index b7beef3b716b1d101ba1330d4636794a8ca5b366..2d916d629fd004d1d815835c166352574781f6d0 100644 (file)
@@ -24,7 +24,7 @@
 #include "wx/setup.h"
 #endif
 
-#if USE_SERIAL
+#if wxUSE_SERIAL
 
 #include "wx/object.h"
 #include "wx/objstrm.h"
@@ -177,6 +177,7 @@ bool wxObjectOutputStream::SaveObject(wxObject& obj)
 wxObjectInputStream::wxObjectInputStream(wxInputStream& s)
   : wxFilterInputStream(s)
 {
+  m_secondcall = FALSE;
 }
 
 wxObject *wxObjectInputStream::SolveName(const wxString& name) const