]> git.saurik.com Git - wxWidgets.git/blob - utils/serialize/serctrl.h
wxFileConfig ctor now (again) uses the files in the correct locations if the
[wxWidgets.git] / utils / serialize / serctrl.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: serctrl.h
3 // Purpose: Serialization: control classes
4 // Author: Guilhem Lavaux
5 // Modified by:
6 // Created: July 1998
7 // RCS-ID: $Id$
8 // Copyright: (c) 1998 Guilhem Lavaux
9 // Licence: wxWindows license
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef __SERCTRL_H__
13 #define __SERCTRL_H__
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include <wx/serbase.h>
20 #include "serwnd.h"
21
22 DECLARE_ALIAS_SERIAL_CLASS(wxControl, wxWindow)
23 DECLARE_SERIAL_CLASS(wxButton, wxControl)
24 DECLARE_SERIAL_CLASS(wxSlider, wxControl)
25 DECLARE_SERIAL_CLASS(wxCheckBox, wxControl)
26 DECLARE_SERIAL_CLASS(wxChoice, wxControl)
27 DECLARE_SERIAL_CLASS(wxComboBox, wxControl)
28 DECLARE_SERIAL_CLASS(wxGauge, wxControl)
29 DECLARE_SERIAL_CLASS(wxListBox, wxControl)
30 DECLARE_SERIAL_CLASS(wxRadioBox, wxControl)
31 DECLARE_SERIAL_CLASS(wxRadioButton, wxControl)
32 DECLARE_SERIAL_CLASS(wxStaticText, wxControl)
33 DECLARE_SERIAL_CLASS(wxStaticBox, wxControl)
34
35
36 class WXSERIAL(wxNotebook) : public WXSERIAL(wxControl) {
37 DECLARE_DYNAMIC_CLASS( wxNotebook_Serialize )
38 public:
39 void StoreObject(wxObjectOutputStream& s);
40 void LoadObject(wxObjectInputStream& s);
41
42 protected:
43 int m_pcount;
44 wxArrayString m_stringlist;
45 };
46
47 #endif