* Fixes and new features in wxObject*Stream
* Fixes: wxChoice (GTK), wxCheckBox (GTK) * Fixes: wxStream * wxObject calls wx*Serialize::LoadObject/StoreObject in StoreObject/LoadObject * Added support for dynamic library (Linux only, Windows will follow) * Added serbase.h (Serialization base defines and base object) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,9 +23,9 @@
|
||||
class wxObjectStreamInfo : public wxObject {
|
||||
public:
|
||||
wxString object_name;
|
||||
int n_children;
|
||||
int n_children, children_removed;
|
||||
wxList children;
|
||||
wxObject *parent;
|
||||
wxObjectStreamInfo *parent;
|
||||
wxObject *object;
|
||||
};
|
||||
|
||||
@@ -56,7 +56,9 @@ class wxObjectInputStream : public wxFilterInputStream {
|
||||
wxObjectInputStream(wxInputStream& s);
|
||||
|
||||
wxObject *GetChild(int no) const;
|
||||
wxObject *GetParent() const { return m_current_info->parent; }
|
||||
int NumberOfChildren() const { return m_current_info->n_children; }
|
||||
void RemoveChildren(int nb);
|
||||
wxObject *GetParent() const;
|
||||
wxObject *LoadObject();
|
||||
|
||||
wxObject *SolveName(const wxString& objName) const;
|
||||
|
Reference in New Issue
Block a user