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).

This commit is contained in:
the_fiddler 2009-09-26 21:55:23 +00:00
parent c201b71cf7
commit 5ce65c92ad

View file

@ -52,7 +52,7 @@ namespace OpenTK
public char KeyChar public char KeyChar
{ {
get { return key_char; } get { return key_char; }
private set { key_char = value; } internal set { key_char = value; }
} }
} }
} }