Missing type in graphics control