]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dde.cpp
wxX11 wants to have the border style flag
[wxWidgets.git] / src / msw / dde.cpp
index f3fba5f994ca78d9dfd89804250710278838d2d5..327e727944fc77173ca66062a82d975f433418c6 100644 (file)
@@ -530,6 +530,7 @@ bool wxDDEConnection::Execute(const wxChar *data, int size, wxIPCFormat format)
                                     XTYP_EXECUTE,
                                     DDE_TIMEOUT,
                                     &result) != 0;
+
     if ( !ok )
     {
         DDELogError(_T("DDE execute request failed"));
@@ -733,7 +734,7 @@ _DDECallback(WORD wType,
                                            0);
                     DdeFreeDataHandle(hData);
                     if ( connection->OnExecute(connection->m_topicName,
-                                               connection->m_bufPtr,
+                                               (wxChar *) connection->m_bufPtr,
                                                (int)len,
                                                (wxIPCFormat) wFmt) )
                     {
@@ -873,7 +874,7 @@ _DDECallback(WORD wType,
                     DdeFreeDataHandle(hData);
                     if ( connection->OnAdvise(connection->m_topicName,
                                               item_name,
-                                              connection->m_bufPtr,
+                                              (wxChar *) connection->m_bufPtr,
                                               (int)len,
                                               (wxIPCFormat) wFmt) )
                     {