// 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"
wxList *list = (wxList *)Object();
int number, i;
- list->DeleteContents( data_s.Read8() );
+ list->DeleteContents( data_s.Read8() != 0 );
list->SetKeyType( (wxKeyType) data_s.Read8() );
number = data_s.Read32();