2006-11-29 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Thu, 30 Nov 2006 02:43:32 +0000 (02:43 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Thu, 30 Nov 2006 02:43:32 +0000 (02:43 -0000)
* ToolStripDropDown.cs: Fix for SupportsTransparency change.

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

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

index 9bcf01814f3a37f2a4d3be06f052422cbdbb7432..eacacad1528d0bdac17c1e56e022b8da3e0a583a 100644 (file)
@@ -1,3 +1,7 @@
+2006-11-29  Jonathan Pobst  <monkey@jpobst.com>
+
+       * ToolStripDropDown.cs: Fix for SupportsTransparency change.
+
 2006-11-29  Chris Toshok  <toshok@ximian.com>
 
        * XplatUIWin32.cs (GetWindowTransparency): check return value of
index afb025358ba7ebbc2b56efb3d10a1a3f5c376031..4380086cd1f842e072211c9f92f1ece193ab741f 100644 (file)
@@ -64,7 +64,7 @@ namespace System.Windows.Forms
                                if (value == allow_transparency)\r
                                        return;\r
 \r
-                               if (XplatUI.SupportsTransparency ()) {\r
+                               if ((XplatUI.SupportsTransparency () & TransparencySupport.Set) != 0) {\r
                                        allow_transparency = value;\r
 \r
                                        if (value) \r