]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dnd.cpp
added wxUSE_PALETTE and fixed compilation with it set to 0
[wxWidgets.git] / src / gtk / 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 |= 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 );
 
                 button_number,  /* number of mouse button which started drag */
                 (GdkEvent*) &event );