// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#if defined(__WINDOWS__)
+#include "wx/msw/private.h"
+#endif
#include "wx/serbase.h"
#include "wx/datstrm.h"
if (lst_object->GetKeyType() == wxKEY_INTEGER) {
while (node) {
- data_s.Write32(node->GetKeyInteger());
+ data_s.Write32((size_t)node->GetKeyInteger());
node = node->Next();
}
} else {