]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation error fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Aug 2001 16:26:05 +0000 (16:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Aug 2001 16:26:05 +0000 (16:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dnd.cpp
src/gtk1/dnd.cpp

index 83dd2e4f3d82806751de5037cf4c43d5560329b3..a95bf1c889202e58aa569d587fc9a8c9d0b41bb1 100644 (file)
@@ -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 );
 
index 83dd2e4f3d82806751de5037cf4c43d5560329b3..a95bf1c889202e58aa569d587fc9a8c9d0b41bb1 100644 (file)
@@ -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 );