From b891fe19743c1437d1b17565b901c2aa608c83c2 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 23 Dec 2018 22:01:50 +0100 Subject: [PATCH] Remove misleading warning from the ipc sample DDE code translates wxIPC_PRIVATE to wxIPC_TEXT internally since a change done in 9d86099269660fb9eab4d146e625cb2a5fff9c14, but same commit also added a warning to the ipc sample stating that wxIPC_PRIVATE doesn't work, which isn't really the case. Remove the warning to avoid the confusion. See #7470. --- samples/ipc/server.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/samples/ipc/server.cpp b/samples/ipc/server.cpp index 54d2763898..25a4420cc1 100644 --- a/samples/ipc/server.cpp +++ b/samples/ipc/server.cpp @@ -273,12 +273,6 @@ void MyServer::Advise() const wxString s = now.FormatTime() + " " + now.FormatDate(); m_connection->Advise(m_connection->m_advise, s.mb_str(), wxNO_LEN); -#if wxUSE_DDE_FOR_IPC - wxLogMessage("DDE Advise type argument cannot be wxIPC_PRIVATE. " - "The client will receive it as wxIPC_TEXT, " - " and receive the correct no of bytes, " - "but not print a correct log entry."); -#endif char bytes[3] = { '1', '2', '3' }; m_connection->Advise(m_connection->m_advise, bytes, 3, wxIPC_PRIVATE); }