X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f565a6c2f4c6961c96dd330a98d0fa78f20ca8c0..6d9022fe3bb50a75b9b5eaf5cf32558e518ba310:/src/msw/dde.cpp?ds=sidebyside diff --git a/src/msw/dde.cpp b/src/msw/dde.cpp index 327e727944..6a7e4d547c 100644 --- a/src/msw/dde.cpp +++ b/src/msw/dde.cpp @@ -734,7 +734,7 @@ _DDECallback(WORD wType, 0); DdeFreeDataHandle(hData); if ( connection->OnExecute(connection->m_topicName, - (wxChar *) connection->m_bufPtr, + connection->m_bufPtr, (int)len, (wxIPCFormat) wFmt) ) { @@ -874,7 +874,7 @@ _DDECallback(WORD wType, DdeFreeDataHandle(hData); if ( connection->OnAdvise(connection->m_topicName, item_name, - (wxChar *) connection->m_bufPtr, + connection->m_bufPtr, (int)len, (wxIPCFormat) wFmt) ) {