From: Vadim Zeitlin Date: Fri, 3 Aug 2001 16:26:05 +0000 (+0000) Subject: compilation error fixed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/46c87a9a8a037a1b0edeed5f1bfd7917a31aa509?ds=inline compilation error fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 );