1998-08-05 13:12:43 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// 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
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-08-04 13:45:20 -04:00
|
|
|
#ifndef __SERCTRL_H__
|
|
|
|
#define __SERCTRL_H__
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <wx/serbase.h>
|
|
|
|
#include "serwnd.h"
|
|
|
|
|
|
|
|
DECLARE_ALIAS_SERIAL_CLASS(wxControl, wxWindow)
|
|
|
|
DECLARE_SERIAL_CLASS(wxButton, wxControl)
|
1998-09-17 13:30:13 -04:00
|
|
|
#ifdef __WINDOWS__
|
|
|
|
DECLARE_SERIAL_CLASS(wxSlider95, wxControl)
|
|
|
|
DECLARE_SERIAL_CLASS(wxGauge95, wxControl)
|
|
|
|
#else
|
1998-08-04 13:45:20 -04:00
|
|
|
DECLARE_SERIAL_CLASS(wxSlider, wxControl)
|
1998-09-17 13:30:13 -04:00
|
|
|
DECLARE_SERIAL_CLASS(wxGauge, wxControl)
|
|
|
|
#endif
|
1998-08-04 13:45:20 -04:00
|
|
|
DECLARE_SERIAL_CLASS(wxCheckBox, wxControl)
|
|
|
|
DECLARE_SERIAL_CLASS(wxChoice, wxControl)
|
|
|
|
DECLARE_SERIAL_CLASS(wxComboBox, wxControl)
|
|
|
|
DECLARE_SERIAL_CLASS(wxListBox, wxControl)
|
|
|
|
DECLARE_SERIAL_CLASS(wxRadioBox, wxControl)
|
1998-08-19 14:33:19 -04:00
|
|
|
DECLARE_SERIAL_CLASS(wxRadioButton, wxControl)
|
1998-08-04 13:45:20 -04:00
|
|
|
DECLARE_SERIAL_CLASS(wxStaticText, wxControl)
|
1998-08-19 14:33:19 -04:00
|
|
|
DECLARE_SERIAL_CLASS(wxStaticBox, wxControl)
|
1998-08-04 13:45:20 -04:00
|
|
|
|
1998-08-23 05:23:27 -04:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
1998-08-04 13:45:20 -04:00
|
|
|
#endif
|