Vadim Zeitlin
20cb47c1c4
Send Unicode data as UTF-8 text when using DDE-based IPC
...
This is a more hackish but more compatible solution to the problem of
data sent using wxIPC_UTF8TEXT format being simply lost when using DDE
for IPC classes. We must use CF_TEXT for the DDE to pass our data, but
we can try to decode it as UTF-8 in the client and assume it was sent in
this format if it worked. This obviously suffers from false positives as
any ASCII string will still be assumed to be UTF-8, but there shouldn't
be any real harm coming from this.
This change also makes sending data in wxIPC_UTF{16,32}TEXT formats work
as well by converting it to UTF-8.
Update the sample to call Advise() with both wxIPC_UTF{8,16}TEXT formats
and remove the now unnecessary wxDDEConnection::m_dataType member.
Closes #17900 .
2018-12-27 00:26:29 +01:00
..
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-09-17 22:34:32 +02:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-09-17 22:34:32 +02:00
2018-12-15 14:27:52 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-09-17 22:34:32 +02:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-27 00:26:29 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-09-23 01:15:08 +02:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-23 11:00:35 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-09-17 22:34:32 +02:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-12-10 19:06:18 +01:00
2018-05-02 15:53:09 +02:00
2018-02-20 14:39:27 +01:00
2018-02-20 14:39:27 +01:00
2017-08-15 19:16:27 +02:00
2018-02-20 14:39:27 +01:00
2015-12-03 22:11:04 +01:00
2015-03-19 21:46:05 +01:00
2018-02-20 14:39:27 +01:00