Author: jpobst
Date: 2006-12-11 15:13:42 -0500 (Mon, 11 Dec 2006)
New Revision: 69358

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
Log:
2006-12-11  Jonathan Pobst  <[EMAIL PROTECTED]>

        * Form.cs: Use opacity instead of Opactiy to determine if we need
        to set the WS_EX_LAYERED bit.  [Fixes bug #80185]

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-12-11 20:11:41 UTC (rev 69357)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-12-11 20:13:42 UTC (rev 69358)
@@ -1,5 +1,10 @@
 2006-12-11  Jonathan Pobst  <[EMAIL PROTECTED]>
 
+       * Form.cs: Use opacity instead of Opactiy to determine if we need
+       to set the WS_EX_LAYERED bit.  [Fixes bug #80185]
+
+2006-12-11  Jonathan Pobst  <[EMAIL PROTECTED]>
+
        * Control.cs: Fix NRE if Control.Site was set to null.
 
 2006-12-11  Chris Toshok  <[EMAIL PROTECTED]>

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2006-12-11 20:11:41 UTC (rev 69357)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2006-12-11 20:13:42 UTC (rev 69358)
@@ -1095,7 +1095,7 @@
                                if (Visible)
                                        cp.Style |= 
(int)WindowStyles.WS_VISIBLE;
 
-                               if (Opacity < 1.0 || TransparencyKey != 
Color.Empty) {
+                               if (opacity < 1.0 || TransparencyKey != 
Color.Empty) {
                                        cp.ExStyle |= 
(int)WindowExStyles.WS_EX_LAYERED;
                                }
 

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

Reply via email to