X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/123a7fddb89d0d39f8c280aea95182d054c8887b..f9a3f576cccfd2c2296a24d74b05b9543c47fac7:/utils/serialize/serctrl.h?ds=inline diff --git a/utils/serialize/serctrl.h b/utils/serialize/serctrl.h index d2eeb82449..8d7e89a8ff 100644 --- a/utils/serialize/serctrl.h +++ b/utils/serialize/serctrl.h @@ -21,14 +21,32 @@ DECLARE_ALIAS_SERIAL_CLASS(wxControl, wxWindow) DECLARE_SERIAL_CLASS(wxButton, wxControl) +#ifdef __WINDOWS__ +DECLARE_SERIAL_CLASS(wxSlider95, wxControl) +DECLARE_SERIAL_CLASS(wxGauge95, wxControl) +#else DECLARE_SERIAL_CLASS(wxSlider, wxControl) +DECLARE_SERIAL_CLASS(wxGauge, wxControl) +#endif DECLARE_SERIAL_CLASS(wxCheckBox, wxControl) 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