diff options
author | Philip Van Hoof <pvanhoof@mono-cvs.ximian.com> | 2003-07-02 02:06:19 +0400 |
---|---|---|
committer | Philip Van Hoof <pvanhoof@mono-cvs.ximian.com> | 2003-07-02 02:06:19 +0400 |
commit | 1ccb5043097abc256f0ffc8fd94afc89f9cab46d (patch) | |
tree | c4df07ef826eba14dcd85472dee5eef4e7e80611 /mcs/class/System.Windows.Forms/Gtk/Form.cs | |
parent | a8588d23e3320640e793b3cae96693350d290529 (diff) |
postion Fixes for Menus ToolBars and Statusbars
svn path=/trunk/mcs/; revision=15830
Diffstat (limited to 'mcs/class/System.Windows.Forms/Gtk/Form.cs')
-rw-r--r-- | mcs/class/System.Windows.Forms/Gtk/Form.cs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mcs/class/System.Windows.Forms/Gtk/Form.cs b/mcs/class/System.Windows.Forms/Gtk/Form.cs index f6ac5e28733..8f4d0cf6874 100644 --- a/mcs/class/System.Windows.Forms/Gtk/Form.cs +++ b/mcs/class/System.Windows.Forms/Gtk/Form.cs @@ -48,13 +48,9 @@ namespace System.Windows.Forms { { Widget contents = base.CreateWidget (); win = new Window (WindowType.Toplevel); - win.DeleteEvent += new DeleteEventHandler (delete_cb); win.Title = Text; - vbox = new Gtk.VBox(false, 0); - win.Add (vbox); - vbox.ShowAll (); - vbox.PackStart(contents, true, true, 0); + win.Add(contents); return (Widget) win; } |