X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/926c550dc5347b149be7a5f02dd452865a8a524d..61f0d452ea7e47fea18d0ab748095dc42d7dd66d:/src/common/serbase.cpp?ds=sidebyside diff --git a/src/common/serbase.cpp b/src/common/serbase.cpp index 803893ec9c..85388cf0d7 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,12 +24,15 @@ #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