Skip to content

Commit

Permalink
2007-09-18 Jonathan Pobst <monkey@jpobst.com>
Browse files Browse the repository at this point in the history
	* ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
	but when the base constructor sets this, the control is null.  Set it
	again in the constructor.  Fixes a failing monobuild test.

svn path=/trunk/mcs/; revision=85988
  • Loading branch information
jpobst committed Sep 18, 2007
1 parent b760210 commit 431628f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
@@ -1,3 +1,9 @@
2007-09-18 Jonathan Pobst <monkey@jpobst.com>

* ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
but when the base constructor sets this, the control is null. Set it
again in the constructor. Fixes a failing monobuild test.

2007-09-18 Jonathan Pobst <monkey@jpobst.com>

* ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
Expand Down
Expand Up @@ -47,6 +47,7 @@ public ToolStripControlHost (Control c) : base ()
this.control = c;
this.control_align = ContentAlignment.MiddleCenter;
this.control.TabStop = false;
this.Size = DefaultSize;
this.OnSubscribeControlEvents (this.control);
}

Expand Down

0 comments on commit 431628f

Please sign in to comment.