X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fdd83842f5ead4ef45852b9943df36c38b4d7d7..b3031762e87338b20e682af9278731aec1d123c6:/utils/serialize/serctrl.h diff --git a/utils/serialize/serctrl.h b/utils/serialize/serctrl.h index 1f922cf4b6..a93a1b3c1a 100644 --- a/utils/serialize/serctrl.h +++ b/utils/serialize/serctrl.h @@ -1,3 +1,14 @@ +///////////////////////////////////////////////////////////////////////////// +// Name: serctrl.h +// Purpose: Serialization: control classes +// Author: Guilhem Lavaux +// Modified by: +// Created: July 1998 +// RCS-ID: $Id$ +// Copyright: (c) 1998 Guilhem Lavaux +// Licence: wxWindows license +///////////////////////////////////////////////////////////////////////////// + #ifndef __SERCTRL_H__ #define __SERCTRL_H__ @@ -16,8 +27,21 @@ DECLARE_SERIAL_CLASS(wxChoice, wxControl) DECLARE_SERIAL_CLASS(wxComboBox, wxControl) DECLARE_SERIAL_CLASS(wxGauge, wxControl) DECLARE_SERIAL_CLASS(wxListBox, wxControl) -DECLARE_SERIAL_CLASS(wxNotebook, wxControl) DECLARE_SERIAL_CLASS(wxRadioBox, wxControl) +DECLARE_SERIAL_CLASS(wxRadioButton, wxControl) DECLARE_SERIAL_CLASS(wxStaticText, wxControl) +DECLARE_SERIAL_CLASS(wxStaticBox, wxControl) + + +class WXSERIAL(wxNotebook) : public WXSERIAL(wxControl) { + DECLARE_DYNAMIC_CLASS( wxNotebook_Serialize ) +public: + void StoreObject(wxObjectOutputStream& s); + void LoadObject(wxObjectInputStream& s); + +protected: + int m_pcount; + wxArrayString m_stringlist; +}; #endif