]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/clipbrd.cpp
simplify code to return from the end of the function
[wxWidgets.git] / src / gtk / clipbrd.cpp
index aeb6af2ea06ac2538ace64d70cde2ebfd08e342f..8b3d228a4f3394cd3c045051ca3c64589a19596b 100644 (file)
@@ -328,7 +328,7 @@ selection_handler( GtkWidget *WXUNUSED(widget),
     {
         gtk_selection_data_set(
             selection_data,
-            GDK_SELECTION_TYPE_STRING,
+            format.GetFormatId(),
             8*sizeof(gchar),
             (const guchar*)buf.data(),
             size );