Author: jpobst
Date: 2008-02-05 09:53:40 -0500 (Tue, 05 Feb 2008)
New Revision: 94888

Modified:
   
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UpDownBase.cs
Log:
2008-02-01  Jonathan Pobst  <[EMAIL PROTECTED]>
        [Backport to 1.9]
        * UpDownBase.cs: Make sure the internal textbox calls the base's
        OnMouseDown and OnMouseUp so the textbox will function correctly.
        There were notes saying it doesn't chain up, but its an internal
        class, so our implementation may differ.
        [Fixes bug #357482]

Modified: 
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- 
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
    2008-02-05 14:52:36 UTC (rev 94887)
+++ 
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
    2008-02-05 14:53:40 UTC (rev 94888)
@@ -1,5 +1,13 @@
 2008-02-01  Jonathan Pobst  <[EMAIL PROTECTED]>
        [Backport to 1.9]
+       * UpDownBase.cs: Make sure the internal textbox calls the base's
+       OnMouseDown and OnMouseUp so the textbox will function correctly.
+       There were notes saying it doesn't chain up, but its an internal
+       class, so our implementation may differ.
+       [Fixes bug #357482]
+
+2008-02-01  Jonathan Pobst  <[EMAIL PROTECTED]>
+       [Backport to 1.9]
        * Control.cs: Remove HeightInternal.
        * ListBox.cs: Commit patch from James Purcell that correctly
        calculates heights for ListBoxen.

Modified: 
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UpDownBase.cs
===================================================================
--- 
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UpDownBase.cs
        2008-02-05 14:52:36 UTC (rev 94887)
+++ 
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UpDownBase.cs
        2008-02-05 14:53:40 UTC (rev 94888)
@@ -275,7 +275,7 @@
                                // some way.
 
                                owner.OnMouseDown (e);
-                               // doesn't chain up
+                               base.OnMouseDown (e);
                        }
 
                        protected override void OnMouseUp (MouseEventArgs e)
@@ -285,7 +285,7 @@
                                // some way.
 
                                owner.OnMouseUp (e);
-                               // doesn't chain up
+                               base.OnMouseUp (e);
                        }
 
                        // XXX there are likely more events that forward up to 
the UpDown

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

Reply via email to