Author: andreia
Date: 2007-03-26 17:24:50 -0500 (Mon, 26 Mar 2007)
New Revision: 74992

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs
Log:
2007-03-26  Andreia Gaita  <[EMAIL PROTECTED]>

* NumericUpDown.cs: Fix broken 1.1 api for ParseEditText

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-03-26 21:56:38 UTC (rev 74991)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-03-26 22:24:50 UTC (rev 74992)
@@ -1,3 +1,7 @@
+2007-03-26  Andreia Gaita  <[EMAIL PROTECTED]>
+
+       * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
+
 2007-03-26  Jackson Harper  <[EMAIL PROTECTED]>
 
        * RichTextBox.cs: The selection_start and selection_end don't

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs 
2007-03-26 21:56:38 UTC (rev 74991)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NumericUpDown.cs 
2007-03-26 22:24:50 UTC (rev 74992)
@@ -340,8 +340,13 @@
                                eh (this, e);
                }
 
-               protected decimal ParseEditText (string text) {
+               protected void ParseEditText () {
+                       Value = ParseEditText (Text);
                        UserEdit = false;
+               }
+
+               private decimal ParseEditText (string text) {
+                       UserEdit = false;
                        decimal ret = dvalue;
 
                        try {

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

Reply via email to