Author: mkestner
Date: 2006-08-28 15:56:48 -0400 (Mon, 28 Aug 2006)
New Revision: 64492

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:

2006-08-28  Mike Kestner  <[EMAIL PROTECTED]>

        * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
        when the control is focused. [Fixes #79171]


Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-08-28 19:35:16 UTC (rev 64491)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-08-28 19:56:48 UTC (rev 64492)
@@ -1,5 +1,10 @@
 2006-08-28  Mike Kestner  <[EMAIL PROTECTED]>
 
+       * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
+       when the control is focused. [Fixes #79171]
+
+2006-08-28  Mike Kestner  <[EMAIL PROTECTED]>
+
        * ListView.cs: size the item and header controls for empty and
        unscrollable views.
        * ThemeWin32Classic.cs: draw disabled backgrounds.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2006-08-28 19:35:16 UTC (rev 64491)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2006-08-28 19:56:48 UTC (rev 64492)
@@ -1805,7 +1805,7 @@
                                                        sub_item_font = 
subItem.Font;
                                                }
 
-                                               if (item.Selected && 
control.FullRowSelect) {
+                                               if (item.Selected && 
control.Focused && control.FullRowSelect) {
                                                        dc.FillRectangle 
(SystemBrushes.Highlight, sub_item_rect);
                                                        if (subItem.Text != 
null && subItem.Text.Length > 0)
                                                                dc.DrawString 
(subItem.Text, sub_item_font,

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

Reply via email to