X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d5b3a40f3335232fbc8598c6e775932fa393c05..56dade3c4d9b09f8bd290daf31a6b635aede029a:/src/gtk/minifram.cpp?ds=sidebyside diff --git a/src/gtk/minifram.cpp b/src/gtk/minifram.cpp index 539d1f7e8d..bdcc5ef8a9 100644 --- a/src/gtk/minifram.cpp +++ b/src/gtk/minifram.cpp @@ -208,7 +208,7 @@ static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButto int y = (int)gdk_event->y; DrawFrame( widget, win->m_oldX, win->m_oldY, win->m_width, win->m_height ); - gdk_pointer_ungrab ( GDK_CURRENT_TIME ); + gdk_pointer_ungrab ( (guint32)GDK_CURRENT_TIME ); int org_x = 0; int org_y = 0; gdk_window_get_origin( widget->window, &org_x, &org_y );