]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/serbase.cpp
wxLocale now uses wxEncodingConverter (must be explicitly enabled)
[wxWidgets.git] / src / common / serbase.cpp
index 85388cf0d77d3fe98012a4848bd71b23463ee4ea..cea2ce5efbefb8874248b4d28b738266bd048003 100644 (file)
 
 IMPLEMENT_DYNAMIC_CLASS(wxObject_Serialize,wxObject)
 
-#if !USE_SHARED_LIBRARY
 IMPLEMENT_SERIAL_CLASS(wxList, wxObject)
 IMPLEMENT_SERIAL_CLASS(wxHashTable, wxObject)
-#endif
 
 void WXSERIAL(wxList)::StoreObject(wxObjectOutputStream& s)
 {
@@ -58,7 +56,7 @@ void WXSERIAL(wxList)::StoreObject(wxObjectOutputStream& s)
 
   if (lst_object->GetKeyType() == wxKEY_INTEGER) {
     while (node) {
-      data_s.Write32(node->GetKeyInteger());
+      data_s.Write32((size_t)node->GetKeyInteger());
       node = node->Next();
     }
   } else {