X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/907789a0f72354f30ec04f79f03a0b7e2a29ac9a..ba5b8263f3bf5393eafcf185f5948f1554034ee1:/src/common/serbase.cpp diff --git a/src/common/serbase.cpp b/src/common/serbase.cpp index 1f2ea96f9c..85388cf0d7 100644 --- a/src/common/serbase.cpp +++ b/src/common/serbase.cpp @@ -24,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 @@ -118,3 +121,5 @@ void WXSERIAL(wxHashTable)::LoadObject(wxObjectInputStream& s) for (i=0;ihash_table[i] = (wxList *)s.GetChild(); } + +#endif // wxUSE_SERIAL