#ifndef _WX_WX_SERBASEH_H__
#define _WX_WX_SERBASEH_H__
-#include <wx/dynlib.h>
+#include "wx/setup.h"
+#include "wx/dynlib.h"
#define WXSERIAL(classname) classname##_Serialize
+#if wxUSE_SERIAL
class wxObject_Serialize : public wxObject {
DECLARE_DYNAMIC_CLASS(wxObject_Serialize)
public:
protected:
wxObject *m_object;
};
+#endif
+ // wxUSE_SERIAL
#define DECLARE_SERIAL_CLASS(classname, parent) \
#define IMPLEMENT_ALIAS_SERIAL_CLASS(classname, parent) \
IMPLEMENT_DYNAMIC_CLASS(classname##_Serialize, parent##_Serialize)
+#if wxUSE_SERIAL
+DECLARE_SERIAL_CLASS(wxList, wxObject)
+DECLARE_SERIAL_CLASS(wxHashTable, wxObject)
+#endif
+ // wxUSE_SERIAL
+
#endif