Fixed typo
[mono.git] / mcs / class / Managed.Windows.Forms / System.Windows.Forms / NumericUpDown.cs
index 981e8720fe2a99951847d052ab817fc768069774..928535f49dcb21d1e110f46879fa2eb21a45dfb0 100644 (file)
@@ -340,7 +340,12 @@ namespace System.Windows.Forms {
                                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;