]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
Added (untested) support for sub-locales.
[wxWidgets.git] / src / common / object.cpp
index 0eda4f7880a8a6a9b4e8b3b33c92568745c199a1..4ac78acc233be0e6217f1061047159b6908a6375 100644 (file)
@@ -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"