1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Serialization: wxWindow classes
4 // Author: Guilhem Lavaux
8 // Copyright: (c) 1998 Guilhem Lavaux
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _SERIALIZE_SERWND_H_
13 #define _SERIALIZE_SERWND_H_
19 #include <wx/window.h>
20 #include <wx/serbase.h>
22 class WXSERIAL(wxWindow
) : public WXSERIAL(wxObject
)
24 DECLARE_DYNAMIC_CLASS( wxWindow_Serialize
)
26 WXSERIAL(wxWindow
)() { }
27 virtual ~WXSERIAL(wxWindow
)() { };
29 void StoreObject(wxObjectOutputStream
& s
);
30 void LoadObject(wxObjectInputStream
& s
);
33 int m_x
, m_y
, m_w
, m_h
;
34 bool m_shown
, m_auto_layout
;
36 wxString m_name
, m_title
, m_label
;
41 DECLARE_SERIAL_CLASS(wxIndividualLayoutConstraint
, wxObject
)
42 DECLARE_SERIAL_CLASS(wxLayoutConstraints
, wxObject
)
43 DECLARE_SERIAL_CLASS(wxFrame
, wxWindow
)
44 DECLARE_SERIAL_CLASS(wxPanel
, wxWindow
)
45 //DECLARE_SERIAL_CLASS(wxDialog, wxWindow)
46 DECLARE_SERIAL_CLASS(wxMenuBar
, wxWindow
)
47 DECLARE_SERIAL_CLASS(wxMenuItem
, wxObject
)
48 DECLARE_SERIAL_CLASS(wxMenu
, wxObject
)