aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TextBox.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/GraphicObjects/TextBox.cs')
-rw-r--r--src/GraphicObjects/TextBox.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/TextBox.cs b/src/GraphicObjects/TextBox.cs
index be7cdab9..20403789 100644
--- a/src/GraphicObjects/TextBox.cs
+++ b/src/GraphicObjects/TextBox.cs
@@ -91,11 +91,11 @@ namespace go
}
#endregion
- public event EventHandler<TextChangeEventArgs> TextChanged = delegate { };
+ public event EventHandler<TextChangeEventArgs> TextChanged;
public virtual void onTextChanged(Object sender, TextChangeEventArgs e)
{
- TextChanged (this, e);
+ TextChanged.Raise (this, e);
}
#region Keyboard handling