Saves value in subclasses from EnumCharType

  - GetValue was not used when saving the value in EnumCharType
Merge pull request #256 from hartungstenio/enum-char

Saves value in subclasses from EnumCharType