projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small bugfix
[wxWidgets.git]
/
src
/
common
/
serbase.cpp
diff --git
a/src/common/serbase.cpp
b/src/common/serbase.cpp
index 1f2ea96f9c00f8b5b884169b75a6878d8bf05d3d..5bc0943b9e6d0807b88d0c292d64d2a7e7edf56c 100644
(file)
--- a/
src/common/serbase.cpp
+++ b/
src/common/serbase.cpp
@@
-24,15
+24,16
@@
#pragma hdrstop
#endif
#pragma hdrstop
#endif
+#if wxUSE_SERIAL
+
// ----------------------------------------------------------------------------
// wxObject_Serialize
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// wxObject_Serialize
// ----------------------------------------------------------------------------
-#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxObject_Serialize,wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxObject_Serialize,wxObject)
+
IMPLEMENT_SERIAL_CLASS(wxList, wxObject)
IMPLEMENT_SERIAL_CLASS(wxHashTable, wxObject)
IMPLEMENT_SERIAL_CLASS(wxList, wxObject)
IMPLEMENT_SERIAL_CLASS(wxHashTable, wxObject)
-#endif
void WXSERIAL(wxList)::StoreObject(wxObjectOutputStream& s)
{
void WXSERIAL(wxList)::StoreObject(wxObjectOutputStream& s)
{
@@
-118,3
+119,5
@@
void WXSERIAL(wxHashTable)::LoadObject(wxObjectInputStream& s)
for (i=0;i<n;i++)
table->hash_table[i] = (wxList *)s.GetChild();
}
for (i=0;i<n;i++)
table->hash_table[i] = (wxList *)s.GetChild();
}
+
+#endif // wxUSE_SERIAL