data = new char[size];
sockstrm->Read(data, size);
- connection->OnExecute (topic_name, (wxChar *) data, size, format);
+ connection->OnExecute (topic_name, data, size, format);
delete [] data;
break;
data = new char[size];
sockstrm->Read(data, size);
- connection->OnAdvise (topic_name, item, (wxChar *) data, size, format);
+ connection->OnAdvise (topic_name, item, data, size, format);
delete [] data;
break;