]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/serialize/serctrl.h
wxFileConfig ctor now (again) uses the files in the correct locations if the
[wxWidgets.git] / utils / serialize / serctrl.h
index a3b3ffc2798d2d4358c1fdec802ac3d3bf219732..a93a1b3c1aca3bbd04ef4ed7357bf196c4a5b75f 100644 (file)
@@ -27,10 +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