]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/serbase.cpp
Committing in .
[wxWidgets.git] / src / common / serbase.cpp
index 803893ec9c7696751b27eb0a03a197d77736da40..85388cf0d77d3fe98012a4848bd71b23463ee4ea 100644 (file)
@@ -13,8 +13,6 @@
 #pragma implementation "serbase.h"
 #endif
 
-#ifdef wxUSE_SERIAL
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 #pragma hdrstop
 #endif
 
+#if wxUSE_SERIAL
+
 // ----------------------------------------------------------------------------
 // wxObject_Serialize
 // ----------------------------------------------------------------------------
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_DYNAMIC_CLASS(wxObject_Serialize,wxObject)
+
+#if !USE_SHARED_LIBRARY
 IMPLEMENT_SERIAL_CLASS(wxList, wxObject)
 IMPLEMENT_SERIAL_CLASS(wxHashTable, wxObject)
 #endif
@@ -121,4 +122,4 @@ void WXSERIAL(wxHashTable)::LoadObject(wxObjectInputStream& s)
     table->hash_table[i] = (wxList *)s.GetChild();
 }
 
-#endif
+#endif // wxUSE_SERIAL