From 5ce65c92ad9ff89cd51af845e44db11e59ac9af5 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 26 Sep 2009 21:55:23 +0000 Subject: [PATCH] Made KeyChar property setter internal instead of private. Useful for reusing KeyPressEventArgs structures (instead of allocating a new one on each and every character event). --- Source/OpenTK/KeyPressEventArgs.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/KeyPressEventArgs.cs b/Source/OpenTK/KeyPressEventArgs.cs index 6df2143f..62f40d6a 100644 --- a/Source/OpenTK/KeyPressEventArgs.cs +++ b/Source/OpenTK/KeyPressEventArgs.cs @@ -52,7 +52,7 @@ namespace OpenTK public char KeyChar { get { return key_char; } - private set { key_char = value; } + internal set { key_char = value; } } } }