]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/serbase.cpp
dlopen fixes
[wxWidgets.git] / src / common / serbase.cpp
index 803893ec9c7696751b27eb0a03a197d77736da40..cf00ab21d534be9d4dc1d0a18b460ab96d6e7bdf 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"
 
@@ -26,6 +24,8 @@
 #pragma hdrstop
 #endif
 
+#if wxUSE_SERIAL
+
 // ----------------------------------------------------------------------------
 // wxObject_Serialize
 // ----------------------------------------------------------------------------
@@ -121,4 +121,4 @@ void WXSERIAL(wxHashTable)::LoadObject(wxObjectInputStream& s)
     table->hash_table[i] = (wxList *)s.GetChild();
 }
 
-#endif
+#endif // wxUSE_SERIAL