Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Van Hoof <pvanhoof@mono-cvs.ximian.com>2003-07-02 02:06:19 +0400
committerPhilip Van Hoof <pvanhoof@mono-cvs.ximian.com>2003-07-02 02:06:19 +0400
commit1ccb5043097abc256f0ffc8fd94afc89f9cab46d (patch)
treec4df07ef826eba14dcd85472dee5eef4e7e80611 /mcs/class/System.Windows.Forms/Gtk/Form.cs
parenta8588d23e3320640e793b3cae96693350d290529 (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.cs6
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;
}