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;
0);
DdeFreeDataHandle(hData);
if ( connection->OnExecute(connection->m_topicName,
- (wxChar *) connection->m_bufPtr,
+ connection->m_bufPtr,
(int)len,
(wxIPCFormat) wFmt) )
{
DdeFreeDataHandle(hData);
if ( connection->OnAdvise(connection->m_topicName,
item_name,
- (wxChar *) connection->m_bufPtr,
+ connection->m_bufPtr,
(int)len,
(wxIPCFormat) wFmt) )
{