X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f39393d9efe16244c8d213076582dfd996cb129..e26c0634d0040057f09d902842c2b77aa9f0cbfc:/src/gtk/dnd.cpp diff --git a/src/gtk/dnd.cpp b/src/gtk/dnd.cpp index 83dd2e4f3d..a95bf1c889 100644 --- a/src/gtk/dnd.cpp +++ b/src/gtk/dnd.cpp @@ -805,7 +805,7 @@ wxDragResult wxDropSource::DoDragDrop( bool allowMove ) action |= GDK_ACTION_MOVE; GdkDragContext *context = gtk_drag_begin( m_widget, target_list, - action, + (GdkDragAction)action, button_number, /* number of mouse button which started drag */ (GdkEvent*) &event );