FIX: Conditionally use function that may not exist in Ogre API (#950)
FIX: Conditionally use function that may not exist in Ogre API (#950)

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