X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/926c550dc5347b149be7a5f02dd452865a8a524d..a0d8a3052817fef6eef27e9a6ab8802495a39db8:/src/common/serbase.cpp diff --git a/src/common/serbase.cpp b/src/common/serbase.cpp index 803893ec9c..cf00ab21d5 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 +#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