many warnings fixed (from HP-UX compilation log)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -503,7 +503,7 @@ void wxDropTarget::RegisterWidget( GtkWidget *widget )
|
||||
|
||||
static void
|
||||
source_drag_data_get (GtkWidget *WXUNUSED(widget),
|
||||
GdkDragContext *context,
|
||||
GdkDragContext *WXUNUSED(context),
|
||||
GtkSelectionData *selection_data,
|
||||
guint WXUNUSED(info),
|
||||
guint WXUNUSED(time),
|
||||
@@ -748,7 +748,7 @@ wxDragResult wxDropSource::DoDragDrop( bool allowMove )
|
||||
event.x = x;
|
||||
event.y = y;
|
||||
event.state = state;
|
||||
event.time = GDK_CURRENT_TIME;
|
||||
event.time = (guint32)GDK_CURRENT_TIME;
|
||||
|
||||
/* GTK wants to know which button was pressed which caused the dragging */
|
||||
int button_number = 0;
|
||||
|
Reference in New Issue
Block a user