For some incomprehensible reason, GDK_SELECTION_TYPE_STRING was hard coded for
all non-text formats even though it was clearly never the right format to use.
Use the correct value specified by the format instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72160
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
gtk_selection_data_set(
selection_data,
{
gtk_selection_data_set(
selection_data,
- GDK_SELECTION_TYPE_STRING,
8*sizeof(gchar),
(const guchar*)buf.data(),
size );
8*sizeof(gchar),
(const guchar*)buf.data(),
size );