fix issue 3096 - EnumBaseType
Merge pull request #2115 from hpohl/3096

fix issue 3096 - EnumBaseType