2007-08-17 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Fri, 17 Aug 2007 21:13:56 +0000 (21:13 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Fri, 17 Aug 2007 21:13:56 +0000 (21:13 -0000)
* Form.cs: Reset is_visible back to true after OnLoad.  Setting this
in OnLoad should not have any effect.  [Fixes bug #82470]

svn path=/trunk/mcs/; revision=84334

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs

index c3c7001f64cf5d429bc87227f78b244a5136dedf..ec72880fd075c89986c648ee04dfa86c2d337461 100644 (file)
@@ -1,3 +1,8 @@
+2007-08-17  Jonathan Pobst  <monkey@jpobst.com>
+
+       * Form.cs: Reset is_visible back to true after OnLoad.  Setting this
+       in OnLoad should not have any effect.  [Fixes bug #82470]
+
 2007-08-17  Jonathan Pobst  <monkey@jpobst.com>
 
        * ToolTip.cs: Add a hack to ToolTipWindow so it will still size and
index ec858740e4f15c1408f06d68acb05d90fa6ece89..3429a16bb1bdac8d9492c606c6629b443213eb0b 100644 (file)
@@ -2833,6 +2833,7 @@ namespace System.Windows.Forms {
 
                        if (!IsDisposed) {
                                OnLoad (e);
+                               is_visible = true;
                        }
                        
                        if (!IsMdiChild && !IsDisposed) {