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)
{
if (lst_object->GetKeyType() == wxKEY_INTEGER) {
while (node) {
- data_s.Write32(node->GetKeyInteger());
+ data_s.Write32((size_t)node->GetKeyInteger());
node = node->Next();
}
} else {