X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d43638db10823193952af62215f4c9e900f312a..10310d83222024c0a4f22e04ae3cc6f18caf5e47:/include/wx/objstrm.h diff --git a/include/wx/objstrm.h b/include/wx/objstrm.h index 9f419e38ec..699492671c 100644 --- a/include/wx/objstrm.h +++ b/include/wx/objstrm.h @@ -27,7 +27,7 @@ class wxObjectStreamInfo : public wxObject { wxList children; wxObjectStreamInfo *parent; wxObject *object; - bool duplicate; + bool duplicate, recall; }; class wxObjectOutputStream : public wxFilterOutputStream { @@ -57,6 +57,9 @@ class wxObjectInputStream : public wxFilterInputStream { public: wxObjectInputStream(wxInputStream& s); + bool SecondCall() const { return m_secondcall; } + void Recall(bool on = TRUE) { m_current_info->recall = on; } + wxObject *GetChild(int no) const; wxObject *GetChild(); int NumberOfChildren() const { return m_current_info->n_children; } @@ -72,6 +75,7 @@ class wxObjectInputStream : public wxFilterInputStream { void ProcessObjectData(wxObjectStreamInfo *info); protected: + bool m_secondcall; wxObjectStreamInfo *m_current_info; wxList m_solver; };