Author: fejj
Date: 2007-11-20 12:39:49 -0500 (Tue, 20 Nov 2007)
New Revision: 90002
Modified:
trunk/olive/class/agclr/ChangeLog
trunk/olive/class/agclr/System.Windows.Interop/BrowserHost.cs
Log:
2007-11-20 Jeffrey Stedfast <[EMAIL PROTECTED]>
* System.Windows.Interop/BrowserHost.cs (add_Resize): Removed old
hack.
Modified: trunk/olive/class/agclr/ChangeLog
===================================================================
--- trunk/olive/class/agclr/ChangeLog 2007-11-20 17:39:30 UTC (rev 90001)
+++ trunk/olive/class/agclr/ChangeLog 2007-11-20 17:39:49 UTC (rev 90002)
@@ -1,3 +1,8 @@
+2007-11-20 Jeffrey Stedfast <[EMAIL PROTECTED]>
+
+ * System.Windows.Interop/BrowserHost.cs (add_Resize): Removed old
+ hack.
+
2007-11-16 Jeffrey Stedfast <[EMAIL PROTECTED]>
* System.Windows.Interop/BrowserHost.cs (add_Resize): Invoke the
@@ -14,8 +19,8 @@
2007-09-27 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
- * Internal.cs: Don't ref ourself if we're created using a *_new
function,
- the creation itself already gives us a ref.
+ * Internal.cs: Don't ref ourself if we're created using a *_new
+ function, the creation itself already gives us a ref.
2007-09-21 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
Modified: trunk/olive/class/agclr/System.Windows.Interop/BrowserHost.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows.Interop/BrowserHost.cs
2007-11-20 17:39:30 UTC (rev 90001)
+++ trunk/olive/class/agclr/System.Windows.Interop/BrowserHost.cs
2007-11-20 17:39:49 UTC (rev 90002)
@@ -85,14 +85,8 @@
public static event EventHandler Resize {
add {
if (surface == IntPtr.Zero) {
- IntPtr toplevel;
-
surface =
NativeMethods.plugin_instance_get_surface (PluginHost.Handle);
Events.InitSurface (surface);
-
- toplevel =
NativeMethods.surface_get_toplevel (surface);
- if (toplevel != IntPtr.Zero &&
NativeMethods.uielement_get_isloaded (toplevel))
- value (null, null);
}
events.AddHandler (ResizeEvent, value);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches