Author: andreia
Date: 2008-02-05 22:29:12 -0500 (Tue, 05 Feb 2008)
New Revision: 94987

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs
Log:
* WebBrowser.cs: Do a normal page refresh by default.

2008-02-06  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        
2008-02-06 03:12:07 UTC (rev 94986)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2008-02-06 03:29:12 UTC (rev 94987)
@@ -1,3 +1,7 @@
+2008-02-06  Andreia Gaita  <[EMAIL PROTECTED]>
+       
+       * WebBrowser.cs: Do a normal page refresh by default.
+
 2008-02-05  Andreia Gaita  <[EMAIL PROTECTED]>
 
        * XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we 
create 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs    
2008-02-06 03:12:07 UTC (rev 94986)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs    
2008-02-06 03:29:12 UTC (rev 94987)
@@ -267,9 +267,7 @@
 
                public override void Refresh ()
                {
-                       documentReady = false;
-                       document = null;
-                       WebHost.Navigation.Reload 
(Mono.WebBrowser.ReloadOption.Full);
+                       Refresh (WebBrowserRefreshOption.IfExpired);
                }
 
                public void Refresh (WebBrowserRefreshOption opt)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to