Fix a MSVC-only usage of accesing enum members.
Fix a MSVC-only usage of accesing enum members.

OpenTechEngine/CEGUI,ruleless/CEGUI,ruleless/CEGUI,OpenTechEngine/CEGUI,ruleless/CEGUI,ruleless/CEGUI,OpenTechEngine/CEGUI,OpenTechEngine/CEGUI