Author: andreia
Date: 2007-11-01 12:00:24 -0500 (Thu, 01 Nov 2007)
New Revision: 88665
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowserBase.cs
Log:
* WebBrowserBase.cs: revert previous change, resize can be called anytime
2007-11-01 Andreia Gaita <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-11-01 16:54:10 UTC (rev 88664)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-11-01 17:00:24 UTC (rev 88665)
@@ -1,3 +1,7 @@
+2007-11-01 Andreia Gaita <[EMAIL PROTECTED]>
+
+ * WebBrowserBase.cs: revert previous change, resize can be called
anytime
+
2007-11-01 Jonathan Pobst <[EMAIL PROTECTED]>
* Application.cs: When a toolstrip has the keyboard input loop, let
messages
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowserBase.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowserBase.cs
2007-11-01 16:54:10 UTC (rev 88664)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowserBase.cs
2007-11-01 17:00:24 UTC (rev 88665)
@@ -252,7 +252,7 @@
base.OnVisibleChanged (e);
if (Visible && !Disposing && !IsDisposed && state ==
State.Loaded) {
state = State.Active;
- WebHost.Activate ();
+ webHost.Activate ();
} else if (!Visible && state == State.Active) {
state = State.Loaded;
webHost.Deactivate ();
@@ -283,8 +283,7 @@
protected override void SetBoundsCore (int x, int y, int width,
int height, BoundsSpecified specified)
{
base.SetBoundsCore (x, y, width, height, specified);
- if (state == State.Active)
- this.webHost.Resize (width, height);
+ this.webHost.Resize (width, height);
}
#endregion
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches