]> git.saurik.com Git - wxWidgets.git/commitdiff
stupid bug corrected (the code was never compiled)
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 30 Dec 1998 16:04:01 +0000 (16:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 30 Dec 1998 16:04:01 +0000 (16:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/serbase.cpp

index 803893ec9c7696751b27eb0a03a197d77736da40..5bc2ae125e4ad43fc9c8bcd05bb124cd474c7d7b 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
 
+#ifdef 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