X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/794df945d5331a7ea8e3d44bdccd53c36963957b..301cd871a221ca5c0f1c20df50c654a3e7a388fe:/src/common/object.cpp diff --git a/src/common/object.cpp b/src/common/object.cpp index 0eda4f7880..4ac78acc23 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -22,7 +22,7 @@ #ifndef WX_PRECOMP #include "wx/hash.h" - #ifdef wxUSE_SERIAL + #if wxUSE_SERIAL #include "wx/objstrm.h" #include "wx/serbase.h" @@ -64,7 +64,7 @@ wxHashTable* wxClassInfo::sm_classTable = (wxHashTable*) NULL; wxObject::wxObject(void) { m_refData = (wxObjectRefData *) NULL; -#ifdef wxUSE_SERIAL +#if wxUSE_SERIAL m_serialObj = (wxObject_Serialize *)NULL; #endif } @@ -72,7 +72,7 @@ wxObject::wxObject(void) wxObject::~wxObject(void) { UnRef(); -#ifdef wxUSE_SERIAL +#if wxUSE_SERIAL if (m_serialObj) delete m_serialObj; #endif @@ -269,7 +269,7 @@ wxObject *wxCreateDynamicObject(const char *name) return (wxObject*) NULL; } -#ifdef wxUSE_SERIAL +#if wxUSE_SERIAL #include "wx/serbase.h" #include "wx/dynlib.h"