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:
parent
c201b71cf7
commit
5ce65c92ad
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ namespace OpenTK
|
|||
public char KeyChar
|
||||
{
|
||||
get { return key_char; }
|
||||
private set { key_char = value; }
|
||||
internal set { key_char = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue