From a54009c47a59d986efd0d9b65653a03d5c5bbd65 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 20 Oct 2004 18:39:05 +0000 Subject: [PATCH] * gdk/Window.custom: add a new constructor that takes a Gdk.WindowAttributesType rather than an int for attributes_mask. svn path=/trunk/gtk-sharp/; revision=35182 --- ChangeLog | 5 +++++ gdk/Window.custom | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 94b8fefe0..2b2498a45 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-10-20 Dan Winship + + * gdk/Window.custom: add a new constructor that takes a + Gdk.WindowAttributesType rather than an int for attributes_mask. + 2004-10-18 Dan Winship * generator/OpaqueGen.cs: Don't build the (IntPtr raw) constructor diff --git a/gdk/Window.custom b/gdk/Window.custom index 135eef5a1..2a93ec5ab 100644 --- a/gdk/Window.custom +++ b/gdk/Window.custom @@ -22,6 +22,9 @@ // Free Software Foundation, Inc., 59 Temple Place - Suite 330, // Boston, MA 02111-1307, USA. + public Window (Gdk.Window parent, Gdk.WindowAttr attributes, Gdk.WindowAttributesType attributes_mask) : this (parent, attributes, (int)attributes_mask) {} + + [DllImport("libgdk-win32-2.0-0.dll")] static extern IntPtr gdk_window_get_children(IntPtr raw);