- item = codec->ReadString();
- format = (wxDataFormat)codec->Read8();
- size = codec->Read32();
- data = new char[size];
- codec->Read(data, size);
+ item = codeci->ReadString();
+ format = (wxIPCFormat)codeci->Read8();
+ size = codeci->Read32();
+ data = new wxChar[size];
+ codeci->Read(data, size);