Applied GTK clipboard end of string patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -287,7 +287,7 @@ selection_handler( GtkWidget *WXUNUSED(widget),
|
|||||||
gtk_selection_data_set_text(
|
gtk_selection_data_set_text(
|
||||||
selection_data,
|
selection_data,
|
||||||
(const gchar*)d,
|
(const gchar*)d,
|
||||||
size);
|
size-1 );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
@@ -297,7 +297,7 @@ selection_handler( GtkWidget *WXUNUSED(widget),
|
|||||||
GDK_SELECTION_TYPE_STRING,
|
GDK_SELECTION_TYPE_STRING,
|
||||||
8*sizeof(gchar),
|
8*sizeof(gchar),
|
||||||
(unsigned char*) d,
|
(unsigned char*) d,
|
||||||
size );
|
size-1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
free(d);
|
free(d);
|
||||||
|
@@ -287,7 +287,7 @@ selection_handler( GtkWidget *WXUNUSED(widget),
|
|||||||
gtk_selection_data_set_text(
|
gtk_selection_data_set_text(
|
||||||
selection_data,
|
selection_data,
|
||||||
(const gchar*)d,
|
(const gchar*)d,
|
||||||
size);
|
size-1 );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
@@ -297,7 +297,7 @@ selection_handler( GtkWidget *WXUNUSED(widget),
|
|||||||
GDK_SELECTION_TYPE_STRING,
|
GDK_SELECTION_TYPE_STRING,
|
||||||
8*sizeof(gchar),
|
8*sizeof(gchar),
|
||||||
(unsigned char*) d,
|
(unsigned char*) d,
|
||||||
size );
|
size-1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
free(d);
|
free(d);
|
||||||
|
Reference in New Issue
Block a user