Author: jackson
Date: 2005-03-23 13:50:29 -0500 (Wed, 23 Mar 2005)
New Revision: 42161

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs
Log:
        * TabControl.cs: Fix typo, emilinates an unneeded expose event.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-03-23 18:40:14 UTC (rev 42160)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-03-23 18:50:29 UTC (rev 42161)
@@ -1,3 +1,7 @@
+2005-03-23  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * TabControl.cs: Fix typo, emilinates an unneeded expose event.
+
 2005-03-22  Jonathan Chambers  <[EMAIL PROTECTED]>
 
        * CategoryGridEntry.cs: Added

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs    
2005-03-23 18:40:14 UTC (rev 42160)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TabControl.cs    
2005-03-23 18:50:29 UTC (rev 42161)
@@ -476,7 +476,7 @@
 
                private void MouseUpHandler (object sender, MouseEventArgs e)
                {
-                       if (ShowSlider && (left_slider_state != 
ButtonState.Pushed || right_slider_state != ButtonState.Pushed)) {
+                       if (ShowSlider && (left_slider_state == 
ButtonState.Pushed || right_slider_state == ButtonState.Pushed)) {
                                Rectangle invalid;
                                if (left_slider_state == ButtonState.Pushed)
                                        invalid = 
ThemeEngine.Current.GetTabControlLeftScrollRect (this);

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

Reply via email to