Index: trunk/w32/patches/gtk+/01-mousewheel.patch =================================================================== --- trunk/w32/patches/gtk+/01-mousewheel.patch (revision 2594) +++ trunk/w32/patches/gtk+/01-mousewheel.patch (nonexistent) @@ -1,29 +0,0 @@ ---- a/gdk/win32/gdkevents-win32.c 2008-10-17 05:06:36.000000000 +0100 -+++ b/gdk/win32/gdkevents-win32.c 2008-11-23 14:56:17.000000000 +0000 -@@ -2243,7 +2243,7 @@ - RECT rect, *drag, orig_drag; - POINT point; - MINMAXINFO *mmi; -- HWND hwnd; -+ HWND hwnd, hwndc; - HCURSOR hcursor; - BYTE key_state[256]; - HIMC himc; -@@ -2855,8 +2855,15 @@ - point.x = GET_X_LPARAM (msg->lParam); - point.y = GET_Y_LPARAM (msg->lParam); - -- if ((hwnd = WindowFromPoint (point)) == NULL) -- break; -+ /* Find our toplevel window */ -+ hwnd = GetAncestor (msg->hwnd, GA_ROOT); -+ -+ /* Walk back up to the outermost child at the desired point */ -+ do { -+ ScreenToClient (hwnd, &point); -+ hwndc = ChildWindowFromPoint (hwnd, point); -+ ClientToScreen (hwnd, &point); -+ } while (hwndc != hwnd && (hwnd = hwndc, 1)); - - msg->hwnd = hwnd; - if ((new_window = gdk_win32_handle_table_lookup ((GdkNativeWindow) msg->hwnd)) == NULL) Index: trunk/w32/patches/gtk+/02-example.patch =================================================================== --- trunk/w32/patches/gtk+/02-example.patch (nonexistent) +++ trunk/w32/patches/gtk+/02-example.patch (revision 2595) @@ -0,0 +1,50 @@ +--- a/demos/gtk-demo/main.c 2011-08-16 04:30:51.000000000 +0200 ++++ b/demos/gtk-demo/main.c 2016-08-13 20:15:10.629440222 +0200 +@@ -664,12 +664,13 @@ + + g_string_free (buffer, TRUE); + } +- + void + row_activated_cb (GtkTreeView *tree_view, + GtkTreePath *path, + GtkTreeViewColumn *column) + { ++#if 0 ++ + GtkTreeIter iter; + PangoStyle style; + GDoDemoFunc func; +@@ -705,6 +706,7 @@ + G_CALLBACK (window_closed_cb), cbdata); + } + } ++#endif + } + + static void +@@ -775,6 +777,7 @@ + static GtkWidget * + create_tree (void) + { ++#if 0 + GtkTreeSelection *selection; + GtkCellRenderer *cell; + GtkWidget *tree_view; +@@ -870,6 +873,7 @@ + g_object_unref (model); + + return box; ++#endif + } + + static void +@@ -1005,7 +1009,7 @@ + gtk_widget_show_all (window); + + +- load_file (testgtk_demos[0].filename); ++// load_file (testgtk_demos[0].filename); + + gtk_main (); +