]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/serbase.h
oops, missing semi colon added
[wxWidgets.git] / include / wx / serbase.h
index c49b61d7ced9aa5ef31da678a0df27e4b7ff5a88..1ec7b6a52d6febf44724d9ccf365d32d6aa191eb 100644 (file)
@@ -8,13 +8,15 @@
 // Copyright:   (c) Guilhem Lavaux
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
-#ifndef __WX_SERBASEH_H__
-#define __WX_SERBASEH_H__
+#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:
@@ -27,6 +29,8 @@ class wxObject_Serialize : public wxObject {
  protected:
   wxObject *m_object;
 };
+#endif
+  // wxUSE_SERIAL
 
 
 #define DECLARE_SERIAL_CLASS(classname, parent) \
@@ -54,4 +58,10 @@ IMPLEMENT_DYNAMIC_CLASS(classname##_Serialize, parent##_Serialize)
 #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