diff options
author | Miguel de Icaza <miguel@gnome.org> | 2002-09-13 07:49:36 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2002-09-13 07:49:36 +0400 |
commit | 32bd01ec10a860d3e46c436fbdfdf84d5f26300d (patch) | |
tree | 984b30cdb3f60cf38671ec4622ed242bcee548a8 /mcs/class/System.Windows.Forms/Gtk/Form.cs | |
parent | b407458d978048f597725ca190d3d32deccec768 (diff) |
Flush
svn path=/trunk/mcs/; revision=7429
Diffstat (limited to 'mcs/class/System.Windows.Forms/Gtk/Form.cs')
-rw-r--r-- | mcs/class/System.Windows.Forms/Gtk/Form.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mcs/class/System.Windows.Forms/Gtk/Form.cs b/mcs/class/System.Windows.Forms/Gtk/Form.cs index 92f5a224fd4..6e9ad2ed2b7 100644 --- a/mcs/class/System.Windows.Forms/Gtk/Form.cs +++ b/mcs/class/System.Windows.Forms/Gtk/Form.cs @@ -28,17 +28,14 @@ namespace System.Windows.Forms { Gtk.Application.Init (); } - void delete_cb (object o, EventArgs args) + void delete_cb (object o, DeleteEventArgs args) { - SignalArgs sa = (SignalArgs) args; //if (Closing != null) //Closing (o, args); if (Closed != null) Closed (o, args); - - sa.RetVal = false; } internal override Widget CreateWidget () @@ -46,7 +43,7 @@ namespace System.Windows.Forms { Widget contents = base.CreateWidget (); win = new Window (WindowType.Toplevel); - win.DeleteEvent += new EventHandler (delete_cb); + win.DeleteEvent += new DeleteEventHandler (delete_cb); win.Title = Text; win.Add (contents); return (Widget) win; |