X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f565a6c2f4c6961c96dd330a98d0fa78f20ca8c0..2adfb497e666354303ea6bb0e468f1e53811ad55:/src/msw/dde.cpp 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) ) {