diff --git a/src/common/serbase.cpp b/src/common/serbase.cpp index 803893ec9c..5bc2ae125e 100644 --- a/src/common/serbase.cpp +++ b/src/common/serbase.cpp @@ -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