#ifndef WX_PRECOMP
#include "wx/hash.h"
- #ifdef wxUSE_SERIAL
+ #if wxUSE_SERIAL
#include "wx/objstrm.h"
#include "wx/serbase.h"
wxObject::wxObject(void)
{
m_refData = (wxObjectRefData *) NULL;
-#ifdef wxUSE_SERIAL
+#if wxUSE_SERIAL
m_serialObj = (wxObject_Serialize *)NULL;
#endif
}
wxObject::~wxObject(void)
{
UnRef();
-#ifdef wxUSE_SERIAL
+#if wxUSE_SERIAL
if (m_serialObj)
delete m_serialObj;
#endif
return (wxObject*) NULL;
}
-#ifdef wxUSE_SERIAL
+#if wxUSE_SERIAL
#include "wx/serbase.h"
#include "wx/dynlib.h"