From 46c87a9a8a037a1b0edeed5f1bfd7917a31aa509 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 3 Aug 2001 16:26:05 +0000 Subject: [PATCH] compilation error fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dnd.cpp | 2 +- src/gtk1/dnd.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ); diff --git a/src/gtk1/dnd.cpp b/src/gtk1/dnd.cpp index 83dd2e4f3d..a95bf1c889 100644 --- a/src/gtk1/dnd.cpp +++ b/src/gtk1/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 ); -- 2.50.0